mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 10:31:39 +01:00
2955f2a19d
- ex. defaultTheme: dark
18 lines
439 B
HTML
18 lines
439 B
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.LanguageCode }}">
|
|
|
|
<head>
|
|
{{- partial "head.html" . }}
|
|
</head>
|
|
|
|
<body
|
|
class="{{ if eq .Kind `page` }}single{{ else }}list{{ if .IsHome }} home {{ end }}{{ end }}{{ if eq $.Site.Params.defaultTheme `dark` }} dark {{ end }}">
|
|
{{- partial "header.html" . }}
|
|
<main class=" main">
|
|
{{- block "main" . }}
|
|
{{end }}
|
|
</main>
|
|
{{- partial "footer.html" . }}
|
|
</body>
|
|
|
|
</html> |