Fix #1224 Deprecated code warning in hugo v0.112.0
Changed site variables from 'Language.Params' -> 'Site.Params' Note this change may conflict with hugo versions less than v0.112.0 See hugo docs: https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120 See hugo-PaperMod Issue: https://github.com/adityatelange/hugo-PaperMod/issues/1224 modified: _default/single.html modified: partials/header.html
This commit is contained in:
committed by
Darren Kearney
parent
bacb763071
commit
37beca5043
@ -36,7 +36,7 @@
|
||||
{{- end }}
|
||||
|
||||
<footer class="post-footer">
|
||||
{{- $tags := .Language.Params.Taxonomies.tag | default "tags" }}
|
||||
{{- $tags := .Site.Params.Taxonomies.tag | default "tags" }}
|
||||
<ul class="post-tags">
|
||||
{{- range ($.GetTerms $tags) }}
|
||||
<li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
|
||||
|
Reference in New Issue
Block a user