Files

28 lines
1.1 KiB
HTML

<!doctype html>
<html lang="{{ .Site.Language.Lang | default "en" }}" dir="ltr">
{{ partial "head.html" . }}
<body class="{{ block "bodyclass" . }}{{ end }}">
<div id="boot" aria-hidden="true"><pre class="boot__log"></pre></div>
<a href="#main-content" class="skip-link">{{ i18n "skip_to_content" }}</a>
{{ partial "header.html" . }}
<main id="main-content" role="main">
{{ block "main" . }}{{ end }}
</main>
{{ partial "footer.html" . }}
{{/* one fingerprinted bundle: the hash changes whenever any script changes,
so the long browser/proxy cache can never serve a stale build. order is
preserved (deferred IIFEs run in sequence). */}}
{{ $js := slice
(resources.Get "js/cursor.js")
(resources.Get "js/shell.js")
(resources.Get "js/filebrowser.js")
(resources.Get "js/player.js")
(resources.Get "js/nav.js")
(resources.Get "js/boot.js")
| resources.Concat "js/bundle.js" | minify | fingerprint }}
<script src="{{ $js.RelPermalink }}" defer></script>
<script>document.addEventListener('contextmenu',function(e){e.preventDefault();});</script>
</body>
</html>