From c081df24f964969b396481d71d5cf727c22eb840 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Wed, 3 Dec 2025 19:03:54 +0100 Subject: [PATCH] WIP:thymeleaf:taxonomies-on-page --- hugo/themes/thymeleaf/layouts/_partials/terms.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hugo/themes/thymeleaf/layouts/_partials/terms.html b/hugo/themes/thymeleaf/layouts/_partials/terms.html index 4e44e504..50386a34 100644 --- a/hugo/themes/thymeleaf/layouts/_partials/terms.html +++ b/hugo/themes/thymeleaf/layouts/_partials/terms.html @@ -1,7 +1,9 @@ {{- $page := .Page }} -{{- range $taxonomy, $terms := .Page.Site.Taxonomies }} +{{- range $taxonomy, $allterms := .Page.Site.Taxonomies }}

{{ .Page.LinkTitle }}

{{- $taxonomyPage := index .Page.Site.Taxonomies $taxonomy }} +{{- $terms := $page.GetTerms $taxonomy }} +
num: {{ $terms.Len }}