From: Kai Moritz Date: Wed, 3 Dec 2025 17:44:46 +0000 (+0100) Subject: WIP:thymeleaf:taxonomies-on-page X-Git-Tag: hugo--mein-erstes-partial~6 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=7d0ea01725993bb86797721dd436b207ea8174c3;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 e32cd732..edb1c41a 100644 --- a/hugo/themes/thymeleaf/layouts/_partials/terms.html +++ b/hugo/themes/thymeleaf/layouts/_partials/terms.html @@ -3,14 +3,10 @@

{{ .Page.LinkTitle }}

$taxonomy: {{ $taxonomy }}

{{- $taxonomyPage := index .Page.Site.Taxonomies $taxonomy }} -

$taxonomyPage.Page

-
{{ debug.Dump $taxonomyPage.Page }}
-

$page.GetTerms $taxonomy

-
{{ debug.Dump ($page.GetTerms $taxonomy) }}

List .Page.GetTerms "{{- $taxonomy }}"

List {{ $terms.Page }}