summaryrefslogtreecommitdiff
path: root/themes/PaperMod/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorIndrajith K L2022-03-19 16:54:23 +0530
committerIndrajith K L2022-03-19 16:54:23 +0530
commit29fcd231e3da9b33c237886f3c1bb30a557ad641 (patch)
tree8eba56550b35938e7c445c9ed6d9005c14036666 /themes/PaperMod/layouts/_default/baseof.html
downloadexperimentsofindrajith-29fcd231e3da9b33c237886f3c1bb30a557ad641.tar.gz
experimentsofindrajith-29fcd231e3da9b33c237886f3c1bb30a557ad641.tar.bz2
experimentsofindrajith-29fcd231e3da9b33c237886f3c1bb30a557ad641.zip
Initial Commit
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>