From 3d10d0986cd7665e4465f598dcb8fad304f8546a Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Thu, 20 Feb 2025 10:45:44 +0000 Subject: [PATCH] Add stars to categories and taxonomies --- assets/css/extended/custom.css | 4 ++++ layouts/_default/baseof.html | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/assets/css/extended/custom.css b/assets/css/extended/custom.css index 82e96b6..0a67eea 100644 --- a/assets/css/extended/custom.css +++ b/assets/css/extended/custom.css @@ -22,6 +22,10 @@ code { body { font-family: "AdwaitaSans", sans-serif; + overflow: hidden; +} + +html { } code { diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b763c29..2067741 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -17,10 +17,15 @@ {{- print " dark" }} {{- end -}} " id="top"> -{{ if .IsHome }} +{{ if or .IsHome (eq .Kind "section") (eq .Kind "taxonomy") (eq .Kind "term") }}
+ {{ end }} {{- partialCached "header.html" . .Page -}}