diff options
| author | rtk0c <[email protected]> | 2025-09-01 11:27:12 -0700 |
|---|---|---|
| committer | rtk0c <[email protected]> | 2025-09-01 11:27:12 -0700 |
| commit | 568d2f599f7f42494758797f0d052f3a2847cbf0 (patch) | |
| tree | c16ace68524dc3c554f83f7501cc9acf255ac0f4 /themes/PaperMod/layouts/_default/baseof.html | |
| parent | cb3897c9f07769a820a4fea23946a78fea6456cb (diff) | |
| parent | 86b0d0c422e34c38837b5b5495ad6d295d0e73d2 (diff) | |
Merge commit '86b0d0c422e34c38837b5b5495ad6d295d0e73d2' as 'themes/PaperMod'
Diffstat (limited to 'themes/PaperMod/layouts/_default/baseof.html')
| -rw-r--r-- | themes/PaperMod/layouts/_default/baseof.html | 27 |
1 files changed, 27 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..db3a506 --- /dev/null +++ b/themes/PaperMod/layouts/_default/baseof.html @@ -0,0 +1,27 @@ +{{- if lt hugo.Version "0.146.0" }} +{{- errorf "=> hugo v0.146.0 or greater is required for hugo-PaperMod to build " }} +{{- end -}} + +<!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> |
