From 406dd3b4f08d65bde21098c62df7f3a0edcde8fc Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 10 May 2023 03:19:44 +0400 Subject: [PATCH] Updated rss.pug to recent changes of Post struct. --- web/templates/rss.pug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/templates/rss.pug b/web/templates/rss.pug index 4cec3a9..e78e3d2 100755 --- a/web/templates/rss.pug +++ b/web/templates/rss.pug @@ -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 |