Update to fix deprecated .Site.Languages in Hugo v0.156.0 (#149)

* Fix for the fact that .Site.Languages was deprecated in Hugo v0.156.0. This also makes the min version for the Zen them v0.156.0.

* More changes to languages, minimum version is now v0.158.0.

* Updated version when min Hugo version changes.
This commit is contained in:
Fredrik Jonsson 2026-04-08 10:37:25 +02:00 • committed by GitHub
commit 5ca43e14d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@
<link>{{ .Permalink }}</link>
<description>{{ site.Params.Podcast.Description | default site.Params.Description }}</description>
<generator>Hugo -- gohugo.io</generator>
<language>{{ site.Params.Podcast.Lang | default site.Language.LanguageCode }}</language>
<language>{{ site.Params.Podcast.Lang | default site.Language.Locale }}</language>
{{ with site.Params.author.email -}}
<managingEditor>{{ . }}{{ with site.Params.author.name }} ({{ . }}){{ end }}</managingEditor>
{{ end -}}