2020-07-20 11:02:07 -04: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 11:11:19 -04:00
|
|
|
{{- if $.Site.Params.SetThemeAuto -}}
|
2020-07-20 11:02:07 -04:00
|
|
|
<script>
|
|
|
|
setTheme();
|
|
|
|
</script>
|
2020-07-20 11:11:19 -04:00
|
|
|
{{- end -}}
|
2020-07-20 11:02:07 -04:00
|
|
|
<header class="header">
|
|
|
|
{{- partial "header.html" . }}
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<main class="main">
|
|
|
|
{{- block "main" . }}
|
|
|
|
{{end }}
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<footer class="footer">
|
|
|
|
{{- partial "footer.html" . }}
|
|
|
|
</footer>
|
|
|
|
{{ $highlight := resources.Get "highlight.min.js" | minify }}
|
|
|
|
<script src="{{ $highlight.Permalink }}"></script>
|
|
|
|
<script>
|
|
|
|
hljs.initHighlightingOnLoad();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|