From f6e83130e44e082272fc3cc83fdc4b6f6e038e14 Mon Sep 17 00:00:00 2001 From: lesion Date: Wed, 12 Jan 2022 22:57:09 +0100 Subject: [PATCH] fix feed validation --- views/feed/rss.pug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/feed/rss.pug b/views/feed/rss.pug index 8c5118e0..b95a9972 100644 --- a/views/feed/rss.pug +++ b/views/feed/rss.pug @@ -1,7 +1,7 @@ doctype xml rss(version='2.0' xmlns:atom="http://www.w3.org/2005/Atom") channel - + atom:link(href=`${settings.baseurl}/feed/rss` rel="self" type="application/rss+xml") title #{settings.title} link #{settings.baseurl} description #{settings.description} @@ -20,3 +20,4 @@ rss(version='2.0' xmlns:atom="http://www.w3.org/2005/Atom") | ]]> pubDate= new Date(event.updatedAt).toUTCString() guid(isPermaLink='false') #{settings.baseurl}/event/#{event.slug || event.id} +