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 | 86b0d0c422e34c38837b5b5495ad6d295d0e73d2 (patch) | |
| tree | 039e513e5cebe1ba60b747372b50d8049edf29ae /layouts/_default/baseof.html | |
Squashed 'themes/PaperMod/' content from commit 5a46517
git-subtree-dir: themes/PaperMod
git-subtree-split: 5a4651783fa9159123d947bd3511b355146d4797
Diffstat (limited to 'layouts/_default/baseof.html')
| -rw-r--r-- | layouts/_default/baseof.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..db3a506 --- /dev/null +++ b/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> |
