PaperModX/layouts/_default/baseof.html

26 lines
774 B
HTML
Raw Permalink 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`)) -}}
2022-09-07 14:47:14 +01:00
{{- print "list-page" -}}
2020-11-28 17:03:57 +00:00
{{- end -}}
{{- if eq site.Params.defaultTheme `dark` -}}
2020-11-28 17:03:57 +00:00
{{- print " dark" }}
2022-09-07 18:41:33 +01:00
{{- end }} type-{{ .Type }} kind-{{ .Kind }} layout-{{ .Layout -}}
" 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>