PaperModX/layouts/_default/baseof.html

24 lines
627 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 17:03:57 +00:00
<body class="
{{- if (or (ne .Kind `page` ) (eq .Layout `archives`) (eq .Layout `search`)) -}}
2020-11-28 17:03:57 +00:00
{{- print "list" -}}
{{- end -}}
{{- if eq $.Site.Params.defaultTheme `dark` -}}
{{- print " dark" }}
{{- end -}}
" id="top">
2021-03-30 13:37:36 +01:00
{{- partialCached "header.html" . .Page -}}
2020-08-21 16:43:13 +01:00
<main class="main">
2021-03-30 13:37:36 +01:00
{{- block "main" . }}{{ end }}
</main>
{{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}}
</body>
</html>