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
|
||||
item
|
||||
title= post.Title
|
||||
category= post.Category
|
||||
guid!= `${strings.ToLower(post.Category)}-${post.Date.UTC().Format("20060102-150405")}`
|
||||
category= post.Category.Name
|
||||
guid!= `${post.PostID()}`
|
||||
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
|
||||
description
|
||||
| <![CDATA[
|
||||
|
Loading…
Reference in New Issue
Block a user