From 900bb5e845c3ad44defbd427cae3d44a4a43321f Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sat, 25 Feb 2023 13:15:44 +0100 Subject: feat: Initial commit --- code/frontpage/layouts/_default/baseof.html | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 code/frontpage/layouts/_default/baseof.html (limited to 'code/frontpage/layouts/_default/baseof.html') diff --git a/code/frontpage/layouts/_default/baseof.html b/code/frontpage/layouts/_default/baseof.html new file mode 100644 index 0000000..155ff84 --- /dev/null +++ b/code/frontpage/layouts/_default/baseof.html @@ -0,0 +1,32 @@ + + + {{ partial "head/head.html" . }} + {{ if eq .Kind "home" -}} + {{ .Scratch.Set "class" "home" -}} + {{ else if eq .Kind "404" -}} + {{ .Scratch.Set "class" "error404" -}} + {{ else if eq .Kind "page" -}} + {{ .Scratch.Set "class" .Type -}} + {{ .Scratch.Add "class" " single" -}} + {{ else -}} + {{ .Scratch.Set "class" .Type -}} + {{ .Scratch.Add "class" " list" -}} + {{ end -}} + + {{ partial "header/header.html" . }} +
+
+ {{ block "main" . }}{{ end }} +
+
+ {{ block "sidebar-prefooter" . }}{{ end }} + {{ block "sidebar-footer" . }}{{ end }} + {{ partial "footer/footer.html" . }} + {{ partial "footer/script-footer.html" . }} + {{ if eq .Site.Params.options.toTopButton true -}} +
+ Top +
+ {{ end }} + + \ No newline at end of file -- cgit v1.3