mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-21 22:36:16 +01:00
.params
-> $params
This was causing the authors of all RSS items to render as "Author".
This commit is contained in:
parent
f787a4e5ad
commit
8073888dd8
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue