PaperModX/layouts/_default/baseof.html

18 lines
574 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="{{ .Site.Language }}" class="direction-{{ .Language.LanguageDirection | default "ltr" }}">
<head>
{{- partial "head.html" . }}
</head>
<body class="{{ if (and (eq .Kind `page` ) (ne .Layout `archives`)) }}single{{ else }}list
{{- if .IsHome }} home{{ end }}{{ end }}{{- if eq $.Site.Params.defaultTheme `dark` }} dark{{ end }}" id="top">
{{- partialCached "header.html" . .Page}}
2020-08-21 16:43:13 +01:00
<main class="main">
{{- block "main" . }}
{{- end }}
</main>
2020-09-17 07:37:32 +01:00
{{- partialCached "footer.html" . .Type }}
</body>
</html>