This commit is contained in:
les
2019-10-02 21:05:15 +02:00
parent ee1b86e36c
commit 61dbaa147e
4 changed files with 8 additions and 10 deletions

View File

@@ -1,10 +1,10 @@
doctype xml
rss(version='2.0')
rss(version='2.0' xmlns:atom="http://www.w3.org/2005/Atom")
channel
atom:link(href="#{config.baseurl}/feed/rss" rel="self" type="application/rss+xml")
title #{config.title}
link #{config.baseurl}
description #{config.description}
language #{config.locale}
each event in events
item
title [#{moment.unix(event.start_datetime).utc(false).format("YY-MM-DD")}] #{event.title} @#{event.place.name}