fix feed validation
This commit is contained in:
parent
d1888be563
commit
f6e83130e4
1 changed files with 2 additions and 1 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue