-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbaseof.html
23 lines (21 loc) · 907 Bytes
/
baseof.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="{{ or site.Language.LanguageCode site.Language.Lang }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
{{ partial "head.html" . -}}
<body>
{{ partial "sidebar.html" . }}
<main id="inhalt" onclick="document.getElementById('hamburger').checked = false;">
{{ partial "header.html" . }}
{{ block "main" . }}{{ end }}
{{ partial "navigation.html" . }}
</main>
</body>
<script>
window.addEventListener("visibilitychange", () => {
if (!document.hidden) return;
localStorage.setItem("sidebar-scroll", document.getElementById("seitenleiste").scrollTop);
localStorage.setItem("dark-mode", document.querySelector('#dark-mode-check').checked);
});
</script>
{{- $print := resources.Get "css/print.css" | minify | fingerprint }}
<link rel="stylesheet" href="{{ $print.RelPermalink }}" integrity="{{ $print.Data.Integrity }}" media="print">
</html>