🐛 Fix: .params.author should be $params.author (https://github.com/Lruihao/hugo-blog/issues/1)

This commit is contained in:
Cell
2021-12-19 18:20:50 +08:00
parent 7358bf938d
commit a5ecfc11b4
+1 -1
View File
@@ -10,7 +10,7 @@
{{- .Page.Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
</pubDate>
<author>
{{- .params.author | default (T "author") -}}
{{- $params.author | default (T "author") -}}
</author>
<guid>
{{- .Page.Permalink -}}