hugo-WonderMod/layouts/_default/baseof.html
2020-07-27 12:04:36 +05:30

18 lines
480 B
HTML

<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<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 }}">
{{- partial "header.html" . }}
<main class="main" id="top">
{{- block "main" . }}
{{end }}
</main>
{{- partial "footer.html" . }}
</body>
</html>