Open platform to collect and prioritize feedback
<!DOCTYPE html>
<html lang="{{ .public.settings.locale }}" dir="{{ .public.settings.localeDirection }}" data-theme="light">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="{{ .private.favicon }}?size=64" sizes="64x64" type="image/png">
<link rel="icon" href="{{ .private.favicon }}?size=192" sizes="192x192" type="image/png">
<link rel="apple-touch-icon" href="{{ .private.favicon }}?size=180&bg=white" sizes="180x180" type="image/png">
{{ if .private.canonicalURL }}
<link rel="canonical" href="{{ .private.canonicalURL }}" />
{{ end }}
{{ if .private.assets }}
{{range .private.assets.CSS}}
<link rel="stylesheet" href="{{ $.public.settings.assetsURL }}{{ . }}" />
{{end}}
{{end}}
{{block "head" .}}{{end}}
<title>{{ .public.title }}</title>
<meta name="description" content="{{ .public.description }}" />
<meta property="og:title" content="{{ .public.title }}" />
<meta property="og:description" content="{{ .public.description }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ .private.currentURL }}" />
<meta property="og:image" content="{{ .private.logo }}">
</head>
<body>
{{block "noscript" .}}{{end}}
{{template "content" .}}
<script id="server-data" type="application/json">
{{template "server-data" .}}
</script>
{{ if ne .public.settings.googleAnalytics "" }}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ .public.settings.googleAnalytics }}" nonce="{{ .public.contextID }}"></script>
<script type="text/javascript" nonce="{{ .public.contextID }}">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ .public.settings.googleAnalytics }}'{{ if .public.tenant }}, {
'tenant': '{{ .public.tenant.Subdomain }}'
}{{ end }});
</script>
{{ end }}
<script type="text/javascript" nonce="{{ .public.contextID }}">
;(function () {
try {
if (typeof window !== 'undefined' && window.localStorage) {
const params = new URLSearchParams(window.location.search)
let theme = "light"
if ((params.has("theme") && params.get("theme") === "light") || params.get("theme") === "dark") {
theme = params.get("theme")
localStorage.setItem("theme", theme)
params.delete("theme")
const newUrl = `${window.location.pathname}?${params.toString()}`
window.history.replaceState({}, "", newUrl)
} else {
theme = localStorage.getItem("theme") || "light"
}
if (theme == "light" || theme == "dark") {
document.body.setAttribute("data-theme", theme)
}
}
} catch (e) {
document.body.setAttribute("data-theme", "light")
}
})()
</script>
{{template "end-of-body" .}}
{{ if .public.tenant }}
{{ if .public.tenant.CustomCSS }}
<link rel="stylesheet" href="{{ .public.settings.assetsURL }}/static/custom/{{ .public.tenant.CustomCSS | md5 }}.css" />
{{ end }}
{{ end }}
</body>
</html>