From 6561771c435f9d9bed1589b5ed13d17aee0b7873 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sun, 11 Dec 2022 20:46:58 +0100 Subject: feat: Add frontpage --- code/frontpage/layouts/partials/header/header.html | 256 +++++++++++++++++++++ 1 file changed, 256 insertions(+) create mode 100644 code/frontpage/layouts/partials/header/header.html (limited to 'code/frontpage/layouts/partials/header/header.html') diff --git a/code/frontpage/layouts/partials/header/header.html b/code/frontpage/layouts/partials/header/header.html new file mode 100644 index 0000000..b835635 --- /dev/null +++ b/code/frontpage/layouts/partials/header/header.html @@ -0,0 +1,256 @@ +{{ if .Site.Params.alert -}} +{{ partial "header/alert.html" . }} +{{ end -}} + +{{ if eq .Site.Params.options.navbarSticky true -}} +
+ {{ end -}} + + + + {{ if eq .Site.Params.options.navbarSticky true }} +
+{{ end -}} + +{{ if eq .Section "docs" -}} +
+ +
+ +{{ else if ne .CurrentSection .FirstSection -}} +
+ +
+{{ end -}} \ No newline at end of file -- cgit v1.3