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:
Darren Kearney
2023-05-23 12:47:34 +01:00
committed by Darren Kearney
parent bacb763071
commit 37beca5043
2 changed files with 2 additions and 2 deletions

View File

@ -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>