mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-12-27 15:35:52 -05: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> |