hugo-WonderMod/layouts/_default/baseof.html
2020-08-21 21:13:13 +05:30

19 lines
484 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 }}"
id="top">
{{- partial "header.html" . }}
<main class="main">
{{- block "main" . }}
{{end }}
</main>
{{- partial "footer.html" . }}
</body>
</html>