1
0

Updated rss.pug to recent changes of Post struct.

This commit is contained in:
Alexander Andreev 2023-05-10 03:19:44 +04:00
parent 7f3daee3db
commit 406dd3b4f0
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -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[