2020-07-20 17:02:07 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ .Site.LanguageCode }}">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
{{- partial "head.html" . }}
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body class="{{ if eq .Kind `page` }}single{{ else }}list{{ if .IsHome }} home{{ end }}{{ end }}">
|
2020-07-20 17:11:19 +02:00
|
|
|
{{- if $.Site.Params.SetThemeAuto -}}
|
2020-07-20 17:02:07 +02:00
|
|
|
<script>
|
|
|
|
setTheme();
|
|
|
|
</script>
|
2020-07-20 17:11:19 +02:00
|
|
|
{{- end -}}
|
2020-07-20 17:02:07 +02:00
|
|
|
<header class="header">
|
|
|
|
{{- partial "header.html" . }}
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<main class="main">
|
|
|
|
{{- block "main" . }}
|
|
|
|
{{end }}
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<footer class="footer">
|
|
|
|
{{- partial "footer.html" . }}
|
|
|
|
</footer>
|
2020-07-21 10:55:56 +02:00
|
|
|
{{ $highlight := resources.Get "js/highlight.min.js" | minify | fingerprint}}
|
2020-07-20 17:23:08 +02:00
|
|
|
<script src="{{ $highlight.Permalink }}" integrity="{{ $highlight.Data.Integrity }}"></script>
|
2020-07-20 17:02:07 +02:00
|
|
|
<script>
|
|
|
|
hljs.initHighlightingOnLoad();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|