.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:
2026-04-30 08:46:38 +02:00
parent 9aa742a377
commit 04ef0c83be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
baseURL: 'https://ipng.ch/'
languageCode: 'en-us'
locale: 'en-us'
title: "IPng Networks"
theme: 'hugo-theme-ipng'
@@ -5,7 +5,7 @@
<link>{{ .Permalink }}</link>
<description>Latest blog posts from {{ .Site.Title }}</description>
{{ with .Site.LanguageCode }}
{{ with .Site.Language.Locale }}
<language>{{.}}</language>
{{end}}