From 72e7a1a6ad631822df3b59a33e5f3f32b3eb0d5d Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 2 Dec 2025 19:02:04 +0100 Subject: [PATCH] WIP:thymeleaf:taxonomies-on-page --- hugo/themes/thymeleaf/layouts/_partials/terms.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hugo/themes/thymeleaf/layouts/_partials/terms.html b/hugo/themes/thymeleaf/layouts/_partials/terms.html index 8d660096..1fc93064 100644 --- a/hugo/themes/thymeleaf/layouts/_partials/terms.html +++ b/hugo/themes/thymeleaf/layouts/_partials/terms.html @@ -2,9 +2,7 @@ {{- range $taxonomy, $terms := .Page.Site.Taxonomies }}

{{ .Page.LinkTitle }}

$taxonomy: {{ $taxonomy }}
-

.Page

-
{{ debug.Dump $page }}
-

$page.GetTerms

+

$page.GetTerms $taxonomy

{{- with $page.GetTerms $taxonomy }}
{{ debug.Dump . }}
{{- end }} -- 2.39.5