From 300cf058e1adb42138cfb78010189bc730ce1847 Mon Sep 17 00:00:00 2001 From: huantian Date: Tue, 13 Jun 2023 19:40:43 +0000 Subject: [PATCH] fix: change use of .Site.Language.Params.params -> .Site.Params .Site.Language.Params was deprecated in Hugo 0.112.0, see https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120 --- layouts/partials/footer.html | 2 +- layouts/partials/nav.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index dca6c23..9290715 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,3 @@ - {{ .Site.Copyright }} | {{ markdownify .Site.Language.Params.params.madeWith }} + {{ .Site.Copyright }} | {{ markdownify .Site.Params.madeWith }} \ No newline at end of file diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 3f1a416..a16fec3 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -4,7 +4,7 @@ {{ with .Site.Social.email }} Email {{ end }} -RSS +RSS {{ $translations := dict }}