Fix RSS template: .Site.Language.Locale -> .Site.LanguageCode
All checks were successful
Deploy / deploy (push) Successful in 6s
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:
parent
e01675dc4d
commit
fd763f7d13
@ -15,7 +15,7 @@
|
||||
{{ with .Site.Params.copyright }}
|
||||
<copyright>{{ . }}</copyright>{{ end }}
|
||||
<generator>Hugo (https://gohugo.io)</generator>
|
||||
{{ with .Site.Language.Locale }}
|
||||
{{ with .Site.LanguageCode }}
|
||||
<language>{{.}}</language>{{end}}
|
||||
{{ with .Site.Params.author.name }}
|
||||
<managingEditor>{{ with $.Site.Params.author.email }}{{ . }}{{ with $.Site.Params.author.name }} ({{ . }}){{ end }}{{ end }}</managingEditor>{{ end }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user