hugo-PaperMod/layouts/_default/baseof.html
2020-07-25 13:15:32 +05:30

18 lines
472 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">
{{- block "main" . }}
{{end }}
</main>
{{- partial "footer.html" . }}
</body>
</html>