From 9f71fcaa40533f8d76b9343cdb58a4d6a5b073ad Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 30 Nov 2025 14:15:02 +0100 Subject: [PATCH] WIP:thymeleaf:taxonomies-on-page --- hugo/themes/thymeleaf/layouts/_partials/terms.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hugo/themes/thymeleaf/layouts/_partials/terms.html b/hugo/themes/thymeleaf/layouts/_partials/terms.html index 36d30a25..0de1f7d6 100644 --- a/hugo/themes/thymeleaf/layouts/_partials/terms.html +++ b/hugo/themes/thymeleaf/layouts/_partials/terms.html @@ -1,10 +1,12 @@ -

.Site

-
{{ .Site }}
-

.Page.Site

-
{{ .Page.Site }}
+

.Site.Taxonomies.tags

+
{{ .Site.Taxonomies.tags }}
+{{- with .Page.Site.Taxonomies.tags }} +
{{ debug.Dump . }}
+{{- end}} {{- with .Page.Site.Taxonomies }} {{- range $taxonomy, $terms := . }}

$taxonomy

+
{{ $terms.size }}
{{ debug.Dump $taxonomy }}

$terms

{{ debug.Dump $terms }}
-- 2.39.5