PaperModX/layouts/_default/baseof.html

26 lines
748 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="{{ .Params.language | default .Language.Lang }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
<head>
{{- partial "head.html" . }}
2022-04-13 17:05:07 +01:00
{{- block "head" . }}{{ end }}
</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` -}}
2020-11-28 17:03:57 +00:00
{{- print " dark" }}
{{- end }} type-{{ .Type }} kind-{{ .Kind -}}
" id="top">
2021-03-30 13:37:36 +01:00
{{- partialCached "header.html" . .Page -}}
2022-04-09 16:31:15 +01:00
<main class="main {{- if (eq .Kind `page`) -}}{{- print " post" -}}{{- end -}}">
2021-03-30 13:37:36 +01:00
{{- block "main" . }}{{ end }}
</main>
{{ partial "footer.html" . -}}
2022-04-13 17:05:07 +01:00
{{- block "body_end" . }}{{ end }}
</body>
</html>