diff options
| -rw-r--r-- | hugo.yaml | 2 | ||||
| -rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
| -rw-r--r-- | layouts/index.xml | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ baseURL: https://mielota.com/ -languageCode: en +locale: en title: Mielota markup: 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 |
