From a5ecfc11b4a85bbd7716d839ec1dd9c589a3fafe Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Sun, 19 Dec 2021 18:20:50 +0800 Subject: [PATCH] :bug: Fix: .params.author should be $params.author (https://github.com/Lruihao/hugo-blog/issues/1) --- layouts/partials/rss/item.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/rss/item.html b/layouts/partials/rss/item.html index 28256b49..ea08a6e0 100644 --- a/layouts/partials/rss/item.html +++ b/layouts/partials/rss/item.html @@ -10,7 +10,7 @@ {{- .Page.Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}} - {{- .params.author | default (T "author") -}} + {{- $params.author | default (T "author") -}} {{- .Page.Permalink -}}