hugo-PaperMod/layouts/_default/baseof.html

25 lines
590 B
HTML
Raw Normal View History

<!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` -}}
{{- print " dark" }}
{{- end -}}
" id="top">
{{- partialCached "header.html" . .Page}}
2020-08-21 11:43:13 -04:00
<main class="main">
{{- block "main" . }}
{{- end }}
</main>
{{- partialCached "footer.html" . .Type .Layout .Params }}
</body>
</html>