summaryrefslogtreecommitdiff
path: root/layouts/index.xml
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2026-05-10 14:32:35 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2026-05-10 14:32:35 +0200
commit2be04b544f6613656934760e80c3cba001081117 (patch)
tree4ff801bf40a65c83e09ead20ee6e1636d4c8a555 /layouts/index.xml
parent413d6f9e3691919a79d8eb4286ea308a01bc3e02 (diff)
use Locale instead of LanguageCode
Diffstat (limited to 'layouts/index.xml')
-rw-r--r--layouts/index.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.xml b/layouts/index.xml
index 0310854..8578fc6 100644
--- a/layouts/index.xml
+++ b/layouts/index.xml
@@ -23,7 +23,7 @@
{{ if ne .Title .Site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>
Hugo</generator>
- <language>{{ site.Language.LanguageCode }}</language>{{ with $authorEmail }} <managingEditor>{{.}}{{
+ <language>{{ site.Language.Locale }}</language>{{ with $authorEmail }} <managingEditor>{{.}}{{
with $authorName }} ({{ . }}){{ end }}</managingEditor>{{ end }}{{ with $authorEmail }} <webMaster>{{
. }}{{ with $authorName }} ({{ . }}){{ end }}</webMaster>{{ end }}{{ with .Site.Copyright }} <copyright>{{
. }}</copyright>{{ end }}{{ if not .Date.IsZero }} <lastBuildDate>{{ (index