fix feed validation

This commit is contained in:
lesion 2022-01-12 22:57:09 +01:00
parent d1888be563
commit f6e83130e4
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -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"></atom:link>
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}