Updated rss.pug to recent changes of Post struct.
This commit is contained in:
parent
7f3daee3db
commit
406dd3b4f0
@ -11,10 +11,10 @@ rss(version='2.0')
|
|||||||
each post in posts
|
each post in posts
|
||||||
item
|
item
|
||||||
title= post.Title
|
title= post.Title
|
||||||
category= post.Category
|
category= post.Category.Name
|
||||||
guid!= `${strings.ToLower(post.Category)}-${post.Date.UTC().Format("20060102-150405")}`
|
guid!= `${post.PostID()}`
|
||||||
pubDate= util.ToClientTimezone(post.Date, r).Format("20060102-150405")
|
pubDate= util.ToClientTimezone(post.Date, r).Format("20060102-150405")
|
||||||
link!= `${host}/mindflow#${strings.ToLower(post.Category)}-${post.Date.UTC().Format("20060102-150405")}`
|
link!= `${host}/mindflow#${post.PostID()}`
|
||||||
author!= author
|
author!= author
|
||||||
description
|
description
|
||||||
| <![CDATA[
|
| <![CDATA[
|
||||||
|
Loading…
Reference in New Issue
Block a user