From 33de4283ed0b9f9acb970b83da1a5c9949381e75 Mon Sep 17 00:00:00 2001 From: Richard Dern Date: Fri, 7 Nov 2025 16:12:12 +0100 Subject: [PATCH] =?UTF-8?q?Utilisation=20du=20nom=20r=C3=A9el=20de=20la=20?= =?UTF-8?q?taxonomie=20quand=20il=20est=20disponible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/42/layouts/_partials/asides/keywords.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/42/layouts/_partials/asides/keywords.html b/themes/42/layouts/_partials/asides/keywords.html index cad39597..b0d987ae 100644 --- a/themes/42/layouts/_partials/asides/keywords.html +++ b/themes/42/layouts/_partials/asides/keywords.html @@ -18,7 +18,8 @@ {{- range $taxonomy, $_ := $ctx.Site.Taxonomies -}} {{- with $ctx.Page.GetTerms $taxonomy }}
-

{{ humanize $taxonomy }}

+ {{- $taxonomyPage := $ctx.Site.GetPage "taxonomy" $taxonomy -}} +

{{ with $taxonomyPage }}{{ .Title }}{{ else }}{{ humanize $taxonomy }}{{ end }}

{{- partial "keywords.html" . }}
{{- end }}