mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
9acbc2c134
and set default dir to `auto` main(css): rm unused class
19 lines
564 B
HTML
19 lines
564 B
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
|
|
|
|
<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">
|
|
{{- partialCached "header.html" . .Page}}
|
|
<main class="main">
|
|
{{- block "main" . }}
|
|
{{- end }}
|
|
</main>
|
|
{{- partialCached "footer.html" . .Type }}
|
|
</body>
|
|
|
|
</html>
|