Merge pull request #828 from fuse314/fix/build_rss

fix(build): LanguageCode in rss.xml
This commit is contained in:
Nuno Coração
2023-07-20 21:06:26 +01:00
committed by GitHub

View File

@@ -17,7 +17,7 @@
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>
<language>{{ site.Language.LanguageCode }}</language>{{ with .Site.Author.email }}
<language>{{ site.LanguageCode }}</language>{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}
{{ if .Site.Params.footer.showCopyright | default true -}}
@@ -46,4 +46,4 @@
</item>
{{ end }}
</channel>
</rss>
</rss>