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:
parent
f4d949c04e
commit
5ca43e14d3
1 changed files with 14 additions and 13 deletions
|
|
@ -4,7 +4,7 @@
|
|||
<link>{{ .Permalink }}</link>
|
||||
<description>Micro blog {{ i18n "string_by" }} {{ with site.Params.author.name }}{{ . }}{{ end }}, {{ i18n "string_follow" }} @{{ with $.Param "microusername" }}{{ . }}{{ end }} {{ i18n "string_at" }} https://micro.blog/{{ with $.Param "microusername" }}{{ . }}{{ end }}</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
{{ with site.Language.LanguageCode -}}
|
||||
{{ with site.Language.Locale -}}
|
||||
<language>{{ . }}</language>
|
||||
{{ end -}}
|
||||
{{ with site.Params.author.email -}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue