hugo-PaperMod/layouts/_default/baseof.html
Aditya Telange 2955f2a19d add config for default theme
- ex.  defaultTheme: dark
2020-07-23 04:29:53 +05:30

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>