.params -> $params
This was causing the authors of all RSS items to render as "Author".
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
{{- .Page.Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
|
{{- .Page.Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
|
||||||
</pubDate>
|
</pubDate>
|
||||||
<author>
|
<author>
|
||||||
{{- .params.author | default (T "author") -}}
|
{{- $params.author | default (T "author") -}}
|
||||||
</author>
|
</author>
|
||||||
<guid>
|
<guid>
|
||||||
{{- .Page.Permalink -}}
|
{{- .Page.Permalink -}}
|
||||||
@@ -33,4 +33,4 @@
|
|||||||
{{- $content | replaceRE `<figure[^>]*>.*</figure>` "" | replaceRE `<img[^>]*( /)?>` "" | safeHTML -}}
|
{{- $content | replaceRE `<figure[^>]*>.*</figure>` "" | replaceRE `<img[^>]*( /)?>` "" | safeHTML -}}
|
||||||
{{- "]]>" | safeHTML -}}
|
{{- "]]>" | safeHTML -}}
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user