hugo-WonderMod/layouts/_default/baseof.html

28 lines
757 B
HTML
Raw Normal View History

{{- if lt hugo.Version "0.112.4" }}
{{- errorf "=> hugo v0.112.4 or greater is required for hugo-PaperMod to build " }}
{{- end -}}
<!DOCTYPE html>
<html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
<head>
{{- partial "head.html" . }}
</head>
2020-11-28 12:03:57 -05:00
<body class="
{{- if (or (ne .Kind `page` ) (eq .Layout `archives`) (eq .Layout `search`)) -}}
2020-11-28 12:03:57 -05:00
{{- print "list" -}}
{{- end -}}
{{- if eq site.Params.defaultTheme `dark` -}}
2020-11-28 12:03:57 -05:00
{{- print " dark" }}
{{- end -}}
" id="top">
2021-03-30 08:37:36 -04:00
{{- partialCached "header.html" . .Page -}}
2020-08-21 11:43:13 -04:00
<main class="main">
2021-03-30 08:37:36 -04:00
{{- block "main" . }}{{ end }}
</main>
{{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}}
</body>
</html>