Fix RSS template: .Site.Language.Locale -> .Site.LanguageCode
All checks were successful
Deploy / deploy (push) Successful in 6s

Missed this one in the earlier sweep. RSS <language> wants a BCP47 code,
which is exactly what .Site.LanguageCode returns now.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Thanwer 2026-05-23 18:33:57 +02:00
parent e01675dc4d
commit fd763f7d13

View File

@ -15,7 +15,7 @@
{{ with .Site.Params.copyright }} {{ with .Site.Params.copyright }}
<copyright>{{ . }}</copyright>{{ end }} <copyright>{{ . }}</copyright>{{ end }}
<generator>Hugo (https://gohugo.io)</generator> <generator>Hugo (https://gohugo.io)</generator>
{{ with .Site.Language.Locale }} {{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}} <language>{{.}}</language>{{end}}
{{ with .Site.Params.author.name }} {{ with .Site.Params.author.name }}
<managingEditor>{{ with $.Site.Params.author.email }}{{ . }}{{ with $.Site.Params.author.name }} ({{ . }}){{ end }}{{ end }}</managingEditor>{{ end }} <managingEditor>{{ with $.Site.Params.author.email }}{{ . }}{{ with $.Site.Params.author.name }} ({{ . }}){{ end }}{{ end }}</managingEditor>{{ end }}