From 176d206ab168c855d20464d4c6511dc259dafa44 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Fri, 21 Jan 2022 20:59:18 +0400 Subject: [PATCH] Changed guid format. Now it made of category and date. --- homepage/views/rss.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homepage/views/rss.pug b/homepage/views/rss.pug index cc652c1..a35c370 100644 --- a/homepage/views/rss.pug +++ b/homepage/views/rss.pug @@ -11,7 +11,7 @@ rss(version='2.0') item title= item.title category= item.category - guid!= rssLink(schemahost, item.date, item.category.toLowerCase()) + guid!= `${item.category.toLowerCase()}-${date_id(item.date, "UTC")}` pubDate= item.date link!= rssLink(schemahost, item.date, item.category.toLowerCase()) author!= author