The switch to class names is for accessibility. Class names are not translated by browser translation plugins and not read by screen readers.
43 lines
1.3 KiB
HTML
43 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<title>{{.Title}}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
|
|
<link rel="stylesheet" href="/res/style/layout.css?v{{.CacheID}}"/>
|
|
<link rel="stylesheet" href="/res/style/icons.css?v{{.CacheID}}"/>
|
|
|
|
<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}}
|
|
|
|
<script>
|
|
// 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 {}
|
|
|
|
window.api_endpoint = '{{.APIEndpoint}}';
|
|
window.server_hostname = "{{.Hostname}}";
|
|
{{with .User}}window.user = {{.}};{{end}}
|
|
{{with .Node}}window.initial_node = {{.}};{{end}}
|
|
</script>
|
|
|
|
<script src="/res/svelte/main.js" type="module"></script>
|
|
</head>
|
|
<body></body>
|
|
</html>
|