From a82262b53dea2cd4929992d1a5808ad27d0551a0 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Sun, 30 Oct 2022 14:20:41 -0500 Subject: [PATCH] adding my own baseof.html --- layouts/_default/baseof.html | 61 ++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 layouts/_default/baseof.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..4822afc --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,61 @@ +{{ $customcss := resources.Get "/css/custom.css" }} +{{- partial "partials/functions/warnings.html" .Site -}} + + + {{- partial "head.html" . -}} + + +
+ {{ i18n "nav.skip_to_main" }} +
+ {{ $header := print "partials/header/" .Site.Params.header.layout ".html" }} + {{ if templates.Exists $header }} + {{ partial $header . }} + {{ else }} + {{ partial "partials/header/basic.html" . }} + {{ end }} +
+
+ {{ block "main" . }}{{ end }} + {{ if and (.Site.Params.footer.showScrollToTop | default true) (gt .WordCount 200) }} + + {{ end }} +
+ {{- partial "footer.html" . -}} + {{ if .Site.Params.enableSearch | default false }} + {{- partial "search.html" . -}} + {{ end }} +
+ +