Merge pull request #521 from rsrchboy/fix-rss-authors

`.params` -> `$params`
This commit is contained in:
Dillon 2022-05-02 17:00:59 +08:00 committed by GitHub
commit c17b7a1ffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 -}}
@ -33,4 +33,4 @@
{{- $content | replaceRE `<figure[^>]*>.*</figure>` "" | replaceRE `<img[^>]*( /)?>` "" | safeHTML -}}
{{- "]]>" | safeHTML -}}
</description>
</item>
</item>