From: Kai Moritz Date: Sat, 22 Nov 2025 16:16:39 +0000 (+0100) Subject: WIP:refactor: display terms as term/number-buttons X-Git-Tag: hugo--cat-tag-pages~7 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=5123829807b9e9f70cb443ab1b068c44f08f6220;p=website WIP:refactor: display terms as term/number-buttons --- diff --git a/hugo/themes/thymeleaf/layouts/_partials/head.html b/hugo/themes/thymeleaf/layouts/_partials/head.html index 1e072de9..0fcb80cc 100644 --- a/hugo/themes/thymeleaf/layouts/_partials/head.html +++ b/hugo/themes/thymeleaf/layouts/_partials/head.html @@ -3,7 +3,7 @@ {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} -{{ with $ctx.style }} +{{ with $style }} diff --git a/hugo/themes/thymeleaf/layouts/terms.html b/hugo/themes/thymeleaf/layouts/terms.html index 9586c51c..532563f9 100644 --- a/hugo/themes/thymeleaf/layouts/terms.html +++ b/hugo/themes/thymeleaf/layouts/terms.html @@ -1,7 +1,8 @@ {{- define "main" }} +{{ $style := . }} {{ if not .Params.style }} - {{ $ctx = merge . (dict "style" "head/terms.css") }} + {{ $style = merge . (dict "style" "styles/default.css") }} {{ end }} {{- if .Title }}