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 }} +
+ +