From 1b463e35d8fec0c3afe96262a1d0a81f1826dc0e Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 1 Aug 2024 18:22:25 -0700 Subject: [PATCH] Use trailing / for sections in the site header Just like `ls`. --- assets/css/080_site_header.css | 6 ++---- layouts/partials/menu.html | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/assets/css/080_site_header.css b/assets/css/080_site_header.css index ad45a50..ffffd5a 100644 --- a/assets/css/080_site_header.css +++ b/assets/css/080_site_header.css @@ -60,12 +60,10 @@ padding: 0; } - li:not(:first-child)::before { + li::after { color: var(--color-nav-separator); - content: ":"; - font-weight: bold; + content: "/"; justify-content: center; - margin-inline-end: var(--spacing); } } } diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index cc06ade..81f7eb8 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -41,11 +41,12 @@ Renders a menu for the given menu ID. {{- end }} {{- end -}} >{{ $name }} + {{- "" -}} {{- with .Children }} - {{- end }} + {{- end -}} {{- end }} {{- end }}