.Site.LanguageCode was deprecated in Hugo v0.158.0 and will be removed in a future release. Use .Site.Language.Locale instead
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
baseURL: 'https://ipng.ch/'
|
baseURL: 'https://ipng.ch/'
|
||||||
languageCode: 'en-us'
|
locale: 'en-us'
|
||||||
title: "IPng Networks"
|
title: "IPng Networks"
|
||||||
theme: 'hugo-theme-ipng'
|
theme: 'hugo-theme-ipng'
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<description>Latest blog posts from {{ .Site.Title }}</description>
|
<description>Latest blog posts from {{ .Site.Title }}</description>
|
||||||
|
|
||||||
{{ with .Site.LanguageCode }}
|
{{ with .Site.Language.Locale }}
|
||||||
<language>{{.}}</language>
|
<language>{{.}}</language>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user