From: Kai Moritz Date: Tue, 2 Dec 2025 17:49:58 +0000 (+0100) Subject: WIP:thymeleaf:taxonomies-on-page X-Git-Tag: hugo--mein-erstes-partial~18 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=dcf62d54d58349d63311d8f90fb400b67f0e452b;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 d1db8fa5..56b00675 100644 --- a/hugo/themes/thymeleaf/layouts/_partials/terms.html +++ b/hugo/themes/thymeleaf/layouts/_partials/terms.html @@ -1,12 +1,15 @@ {{- range $taxonomy, $terms := .Page.Site.Taxonomies }}

{{ .Page.LinkTitle }}

$taxonomy: {{ $taxonomy }}
-
-.Page.GetTerms $taxonomy: -{{- with $pageterms := .Page.GetTerms $taxonomy }} -
{{ debug.Dump $pageterms }}
+

.Page

+{{- with .Page }} +
{{ debug.Dump . }}
{{- end }} -
+

.Page.GetTerms $taxonomy

+{{- with .Page.Page.GetTerms "categories" }} +
{{ debug.Dump . }}
+{{- end }} +

List