hugo-WonderMod/layouts/_default/baseof.html
2020-09-20 19:03:43 +05:30

19 lines
503 B
HTML

<!DOCTYPE html>
<html lang="{{ .Site.Language }}">
<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}}
<main class="main">
{{- block "main" . }}
{{end }}
</main>
{{- partialCached "footer.html" . .Type }}
</body>
</html>