From 4b002e6734d5d9ab70e332dc85dd5ca1b9d30ee4 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 25 Aug 2021 14:54:51 +0200 Subject: [PATCH] Add basic navbar --- layouts/_default/baseof.html | 1 + layouts/partials/navbar.html | 30 ++++++++++++++++++++++++++++++ static/src/scss/style.scss | 1 + 3 files changed, 32 insertions(+) create mode 100644 layouts/partials/navbar.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 107c21a..378fa92 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -9,6 +9,7 @@ {{ partial "title-item.html" . }}{{ .Site.Title }} + {{ partial "navbar.html" . }} {{ block "main" . }}{{ end }} {{ partial "footer.html" . }} diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html new file mode 100644 index 0000000..d68dfc2 --- /dev/null +++ b/layouts/partials/navbar.html @@ -0,0 +1,30 @@ + diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index 65f29e3..c7982dd 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -7,6 +7,7 @@ $paragraph-margin-bottom: $headings-margin-bottom * 0.85; @import "node_modules/bootstrap/scss/bootstrap"; +$navbar-height: 40px; $body-color: $gray-300; html, body {