fix feed validation
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
doctype xml
|
doctype xml
|
||||||
rss(version='2.0' xmlns:atom="http://www.w3.org/2005/Atom")
|
rss(version='2.0' xmlns:atom="http://www.w3.org/2005/Atom")
|
||||||
channel
|
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}
|
title #{settings.title}
|
||||||
link #{settings.baseurl}
|
link #{settings.baseurl}
|
||||||
description #{settings.description}
|
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()
|
pubDate= new Date(event.updatedAt).toUTCString()
|
||||||
guid(isPermaLink='false') #{settings.baseurl}/event/#{event.slug || event.id}
|
guid(isPermaLink='false') #{settings.baseurl}/event/#{event.slug || event.id}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user