hugo-theme-wondermod/layouts/_default/baseof.html
2020-09-17 12:07:32 +05:30

19 lines
498 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" . }}
<main class="main">
{{- block "main" . }}
{{end }}
</main>
{{- partialCached "footer.html" . .Type }}
</body>
</html>