From e6864e2ef80903a3097b8a1661a8cf2928911ed3 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Tue, 17 Oct 2023 23:53:26 +0200 Subject: [PATCH] theme: Link new "random notes" in navbar Signed-off-by: Christoph Heiss --- themes/hacker/assets/scss/main.scss | 4 ++-- themes/hacker/layouts/partials/header.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/hacker/assets/scss/main.scss b/themes/hacker/assets/scss/main.scss index 3ac6b11..0fd4b2c 100644 --- a/themes/hacker/assets/scss/main.scss +++ b/themes/hacker/assets/scss/main.scss @@ -80,12 +80,12 @@ main { header { ul { list-style-type: ""; - margin: 0; + margin: 0 0 0.1em 0; } nav { display: flex; - align-items: baseline; + align-items: end; justify-content: space-between; } diff --git a/themes/hacker/layouts/partials/header.html b/themes/hacker/layouts/partials/header.html index 77dddb0..a2f4444 100644 --- a/themes/hacker/layouts/partials/header.html +++ b/themes/hacker/layouts/partials/header.html @@ -6,12 +6,12 @@
  • back home
  • - {{ end }} {{ range .Pages }} + {{ end }} {{ if ne .Page.Title "random notes" }}
  • - {{ .LinkTitle }} + random notes
  • - {{ end }} + {{ end }}
    {{ with .Params.subheading }} {{ . }} {{ else }} {{ .Description }} {{ end }}