2021-02-23 16:50:13 +01:00
|
|
|
<!DOCTYPE html>
|
2020-11-04 20:51:39 +01:00
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
2021-02-23 16:50:13 +01:00
|
|
|
<meta charset="UTF-8"/>
|
2026-10-01 02:06:00 +02:00
|
|
|
<title>{{.Title}}</title>
|
2021-02-23 16:50:13 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
2022-06-07 14:43:01 +02:00
|
|
|
|
2026-10-01 02:06:00 +02:00
|
|
|
<link rel="stylesheet" href="/res/style/layout.css?v{{.CacheID}}"/>
|
|
|
|
|
<link rel="preload" href="/res/misc/MaterialIcons.woff2" as="font" type="font/woff2" crossorigin/>
|
2020-11-04 20:51:39 +01:00
|
|
|
|
2026-10-01 02:06:00 +02:00
|
|
|
<link rel="icon" href="/favicon.ico" sizes="32x32"/>
|
|
|
|
|
<link rel="icon" href="/res/img/nova.svg" type="image/svg+xml"/>
|
|
|
|
|
<link rel="apple-touch-icon" href="/res/img/nova_180.png"/>
|
|
|
|
|
|
|
|
|
|
{{range .OGData.MetaPropRules}}
|
|
|
|
|
<meta property="{{.Key}}" content="{{.Value}}" />
|
|
|
|
|
{{end}}
|
|
|
|
|
{{range .OGData.MetaNameRules}}
|
|
|
|
|
<meta name="{{.Key}}" content="{{.Value}}" />
|
|
|
|
|
{{end}}
|
|
|
|
|
{{range .OGData.LinkRules}}
|
|
|
|
|
<link rel="{{.Key}}" href="{{.Value}}" />
|
|
|
|
|
{{end}}
|
2020-11-04 20:51:39 +01:00
|
|
|
|
2021-02-23 16:50:13 +01:00
|
|
|
<script>
|
2026-10-01 02:06:00 +02:00
|
|
|
// The branding of the user's home directory, saved on the previous
|
|
|
|
|
// visit. Applying it before the page is drawn prevents a flash of
|
|
|
|
|
// the default theme while the app loads
|
|
|
|
|
try {
|
|
|
|
|
document.documentElement.style.cssText = localStorage.getItem("branding") ?? ""
|
|
|
|
|
} catch {}
|
|
|
|
|
|
2021-02-23 16:50:13 +01:00
|
|
|
window.api_endpoint = '{{.APIEndpoint}}';
|
2025-10-09 15:48:23 +02:00
|
|
|
window.server_hostname = "{{.Hostname}}";
|
2026-10-01 02:06:00 +02:00
|
|
|
{{with .User}}window.user = {{.}};{{end}}
|
|
|
|
|
{{with .Node}}window.initial_node = {{.}};{{end}}
|
2021-02-23 16:50:13 +01:00
|
|
|
</script>
|
2020-11-04 20:51:39 +01:00
|
|
|
|
2026-10-02 13:53:53 +02:00
|
|
|
<script src="/res/svelte/main.js" type="module"></script>
|
2021-02-23 16:50:13 +01:00
|
|
|
</head>
|
|
|
|
|
<body></body>
|
2020-11-04 20:51:39 +01:00
|
|
|
</html>
|