PaperModX/layouts/_default/baseof.html

33 lines
819 B
HTML
Raw Normal View History

<!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>
2020-07-21 09:55:56 +01:00
{{ $highlight := resources.Get "js/highlight.min.js" | minify | fingerprint}}
2020-07-20 16:23:08 +01:00
<script src="{{ $highlight.Permalink }}" integrity="{{ $highlight.Data.Integrity }}"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
</body>
</html>