mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04:00
33 lines
819 B
HTML
33 lines
819 B
HTML
<!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 }}">
|
|
{{- if $.Site.Params.SetThemeAuto -}}
|
|
<script>
|
|
setTheme();
|
|
</script>
|
|
{{- end -}}
|
|
<header class="header">
|
|
{{- partial "header.html" . }}
|
|
</header>
|
|
|
|
<main class="main">
|
|
{{- block "main" . }}
|
|
{{end }}
|
|
</main>
|
|
|
|
<footer class="footer">
|
|
{{- partial "footer.html" . }}
|
|
</footer>
|
|
{{ $highlight := resources.Get "js/highlight.min.js" | minify | fingerprint}}
|
|
<script src="{{ $highlight.Permalink }}" integrity="{{ $highlight.Data.Integrity }}"></script>
|
|
<script>
|
|
hljs.initHighlightingOnLoad();
|
|
</script>
|
|
</body>
|
|
|
|
</html> |