diff options
| author | Nantha Sorubakanthan <nantha@mielota.com> | 2026-05-10 14:32:35 +0200 |
|---|---|---|
| committer | Nantha Sorubakanthan <nantha@mielota.com> | 2026-05-10 14:32:35 +0200 |
| commit | 2be04b544f6613656934760e80c3cba001081117 (patch) | |
| tree | 4ff801bf40a65c83e09ead20ee6e1636d4c8a555 /layouts | |
| parent | 413d6f9e3691919a79d8eb4286ea308a01bc3e02 (diff) | |
use Locale instead of LanguageCode
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
| -rw-r--r-- | layouts/index.xml | 2 |
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 |
