summaryrefslogtreecommitdiff
path: root/themes/PaperMod/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/PaperMod/layouts/_default/baseof.html')
-rw-r--r--themes/PaperMod/layouts/_default/baseof.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/themes/PaperMod/layouts/_default/baseof.html b/themes/PaperMod/layouts/_default/baseof.html
new file mode 100644
index 0000000..6dfe741
--- /dev/null
+++ b/themes/PaperMod/layouts/_default/baseof.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html lang="{{ .Site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
+
+<head>
+ {{- partial "head.html" . }}
+</head>
+
+<body class="
+{{- if (or (ne .Kind `page` ) (eq .Layout `archives`) (eq .Layout `search`)) -}}
+{{- print "list" -}}
+{{- end -}}
+{{- if eq $.Site.Params.defaultTheme `dark` -}}
+{{- print " dark" }}
+{{- end -}}
+" id="top">
+ {{- partialCached "header.html" . .Page -}}
+ <main class="main">
+ {{- block "main" . }}{{ end }}
+ </main>
+ {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}}
+</body>
+
+</html>