summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/index.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 282c9bc..120b467 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="{{ or site.Language.LanguageCode }}">
+<html lang="{{ or site.Language.Locale }}">
<head>
<meta charset="utf-8">
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