From fd763f7d1323ba6f0c7351fbf7e000e8be8c8a35 Mon Sep 17 00:00:00 2001 From: Thanwer Date: Sat, 23 May 2026 18:33:57 +0200 Subject: [PATCH] Fix RSS template: .Site.Language.Locale -> .Site.LanguageCode Missed this one in the earlier sweep. RSS wants a BCP47 code, which is exactly what .Site.LanguageCode returns now. Co-Authored-By: Claude Opus 4.7 --- layouts/_default/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 4c5926e..e8f4ddf 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -15,7 +15,7 @@ {{ with .Site.Params.copyright }} {{ . }}{{ end }} Hugo (https://gohugo.io) - {{ with .Site.Language.Locale }} + {{ with .Site.LanguageCode }} {{.}}{{end}} {{ with .Site.Params.author.name }} {{ with $.Site.Params.author.email }}{{ . }}{{ with $.Site.Params.author.name }} ({{ . }}){{ end }}{{ end }}{{ end }}