From: Kai Moritz Date: Sun, 30 Nov 2025 13:15:02 +0000 (+0100) Subject: WIP:thymeleaf:taxonomies-on-page X-Git-Tag: hugo--mein-erstes-partial~28 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=9f71fcaa40533f8d76b9343cdb58a4d6a5b073ad;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 36d30a25..0de1f7d6 100644 --- a/hugo/themes/thymeleaf/layouts/_partials/terms.html +++ b/hugo/themes/thymeleaf/layouts/_partials/terms.html @@ -1,10 +1,12 @@ -

.Site

-
{{ .Site }}
-

.Page.Site

-
{{ .Page.Site }}
+

.Site.Taxonomies.tags

+
{{ .Site.Taxonomies.tags }}
+{{- with .Page.Site.Taxonomies.tags }} +
{{ debug.Dump . }}
+{{- end}} {{- with .Page.Site.Taxonomies }} {{- range $taxonomy, $terms := . }}

$taxonomy

+
{{ $terms.size }}
{{ debug.Dump $taxonomy }}

$terms

{{ debug.Dump $terms }}