From: Kai Moritz Date: Sat, 22 Nov 2025 16:03:20 +0000 (+0100) Subject: WIP:refactor: display terms as term/number-buttons X-Git-Tag: hugo--cat-tag-pages~8 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=69388ad581790f149fb2cf316408d59427e625e9;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 f0a7d081..1e072de9 100644 --- a/hugo/themes/thymeleaf/layouts/_partials/head.html +++ b/hugo/themes/thymeleaf/layouts/_partials/head.html @@ -3,6 +3,8 @@ {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} +{{ with $ctx.style }} +{{ end }} diff --git a/hugo/themes/thymeleaf/layouts/categories/terms.html b/hugo/themes/thymeleaf/layouts/categories/terms.html deleted file mode 100644 index 6fd26540..00000000 --- a/hugo/themes/thymeleaf/layouts/categories/terms.html +++ /dev/null @@ -1,27 +0,0 @@ -{{- define "main" }} - -{{- if .Title }} - -{{- end }} - - - -{{- end }}{{/* end main */ -}} diff --git a/hugo/themes/thymeleaf/layouts/tags/terms.html b/hugo/themes/thymeleaf/layouts/tags/terms.html deleted file mode 100644 index 6fd26540..00000000 --- a/hugo/themes/thymeleaf/layouts/tags/terms.html +++ /dev/null @@ -1,27 +0,0 @@ -{{- define "main" }} - -{{- if .Title }} - -{{- end }} - - - -{{- end }}{{/* end main */ -}} diff --git a/hugo/themes/thymeleaf/layouts/terms.html b/hugo/themes/thymeleaf/layouts/terms.html new file mode 100644 index 00000000..9586c51c --- /dev/null +++ b/hugo/themes/thymeleaf/layouts/terms.html @@ -0,0 +1,31 @@ +{{- define "main" }} + +{{ if not .Params.style }} + {{ $ctx = merge . (dict "style" "head/terms.css") }} +{{ end }} + +{{- if .Title }} + +{{- end }} + + + +{{- end }}{{/* end main */ -}}