From: Kai Moritz Date: Tue, 2 Dec 2025 18:02:04 +0000 (+0100) Subject: WIP:thymeleaf:taxonomies-on-page X-Git-Tag: hugo--mein-erstes-partial~16 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=72e7a1a6ad631822df3b59a33e5f3f32b3eb0d5d;p=website WIP:thymeleaf:taxonomies-on-page --- 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 }}