From c8edcc04d5d212336725fbba232205f668c460ea Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 16 Dec 2025 20:18:21 +0100 Subject: [PATCH] Partial `terms.html` gegen fehlende Taxonomien abgesichert --- layouts/_partials/terms.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/_partials/terms.html b/layouts/_partials/terms.html index 550ed41a..a4900664 100644 --- a/layouts/_partials/terms.html +++ b/layouts/_partials/terms.html @@ -1,6 +1,6 @@ {{- $page := .Page }} {{- range .Page.Site.Taxonomies }} -{{- $taxonomy := . }} +{{- with $taxonomy := . }} {{- $terms := $page.GetTerms .Page.Data.Plural }} {{- if gt $terms.Len 0 }}

{{ .Page.LinkTitle }}

@@ -11,3 +11,4 @@ {{- end }} {{- end }} +{{- end }} -- 2.39.5