From 24dcef0220b15f7949a502e9905fe3d94a11de4b Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 30 Nov 2025 13:16:38 +0100 Subject: [PATCH] WIP:thymeleaf:taxonomies-on-page --- .../thymeleaf/layouts/_partials/terms.html | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/hugo/themes/thymeleaf/layouts/_partials/terms.html b/hugo/themes/thymeleaf/layouts/_partials/terms.html index 538960b4..3e43c531 100644 --- a/hugo/themes/thymeleaf/layouts/_partials/terms.html +++ b/hugo/themes/thymeleaf/layouts/_partials/terms.html @@ -21,11 +21,24 @@ For a given taxonomy, renders a list of terms assigned to the page. {{- end }} - {{ $tags := .Site.Taxonomies.tags }} -
{{- debug.Dump $tags }}
+

.Site

+
{{ debug.Dump .Site }}
+

.

+
{{ debug.Dump . }}
+

.page

+
{{ debug.Dump .page }}
+

.Page.Page

+
{{ debug.Dump .Page.Page }}
+

.tags

+
{{ debug.Dump .tags }}
+

$taxonomy

+
{{ debug.Dump $taxonomy }}
+ {{- $taxonomyObject := .page.Site.Taxonomies.tags }} +
{{ debug.Dump $taxonomyObject }}
+ {{- $type := $taxonomyObject.Type }} +
{{ debug.Dump $type }}