diff --git a/hugo.toml b/hugo.toml index 6b4c4e0..08a132c 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,5 +1,5 @@ baseURL = 'https://hazemkrimi.tech' -languageCode = 'en' +locale = 'en' title = 'Hazem Krimi' [pagination] pagerSize = 5 diff --git a/layouts/_default/home.rss.xml b/layouts/_default/home.rss.xml index 06e1cd3..402850e 100644 --- a/layouts/_default/home.rss.xml +++ b/layouts/_default/home.rss.xml @@ -44,7 +44,7 @@ {{ .Permalink }} Hazem Krimi's projects and blog Hugo -- gohugo.io - {{ site.Language.LanguageCode }}{{ with $authorEmail }} + {{ site.Language.Locale }}{{ with $authorEmail }} {{.}}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with $authorEmail }} {{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }} {{ . }}{{ end }}{{ if not .Date.IsZero }}