From 4ef8dee4cf6f0aa67ae42872815db6027dd63007 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 24 Sep 2023 15:49:10 -0700 Subject: [PATCH] Super simple navbar for going back hom ein list page --- main-site/themes/temper/layouts/_default/list.html | 1 + .../themes/temper/layouts/partials/minimal-navbar.html | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 main-site/themes/temper/layouts/partials/minimal-navbar.html diff --git a/main-site/themes/temper/layouts/_default/list.html b/main-site/themes/temper/layouts/_default/list.html index ead5526..8e242b9 100644 --- a/main-site/themes/temper/layouts/_default/list.html +++ b/main-site/themes/temper/layouts/_default/list.html @@ -1,4 +1,5 @@ {{ define "main" }} + {{ partial "minimal-navbar.html" }} {{ $colors := slice "cyan" "yellow" "pink"}} {{ $opts := len $colors }} {{ range $i, $page := .Pages.ByDate.Reverse }} diff --git a/main-site/themes/temper/layouts/partials/minimal-navbar.html b/main-site/themes/temper/layouts/partials/minimal-navbar.html new file mode 100644 index 0000000..9790b57 --- /dev/null +++ b/main-site/themes/temper/layouts/partials/minimal-navbar.html @@ -0,0 +1,6 @@ +