From 817430d948775c69c2229978360e5a1237317fe6 Mon Sep 17 00:00:00 2001 From: les Date: Tue, 27 Jul 2021 17:20:27 +0200 Subject: [PATCH] add forgotten slug --- views/feed/rss.pug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/feed/rss.pug b/views/feed/rss.pug index efa285de..b78d8a23 100644 --- a/views/feed/rss.pug +++ b/views/feed/rss.pug @@ -8,15 +8,15 @@ rss(version='2.0' xmlns:atom="http://www.w3.org/2005/Atom") each event in events item title [#{moment.unix(event.start_datetime).format("YY-MM-DD")}] #{event.title} @#{event.place.name} - link #{settings.baseurl}/event/#{event.id} + link #{settings.baseurl}/event/#{event.slug || event.id} description | #{event.title} | #{event.place.name} - #{event.place.address} | (#{moment.unix(event.start_datetime).format("dddd, D MMMM HH:mm")})
if (event.media && event.media.length) - | #{event.media[0].name} + | #{event.media[0].name || ''} |
!{event.description}
| ]]> pubDate= new Date(event.updatedAt).toUTCString() - guid(isPermaLink='false') #{settings.baseurl}/event/#{event.id} + guid(isPermaLink='false') #{settings.baseurl}/event/#{event.slug || event.id}