From 3ab8981195dbbdc553fbe1a14178b6793a81fa3b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 30 Dec 2020 09:06:31 +0100 Subject: Revert to old category metadata collection, add support for authors --- templates/feed.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'templates/feed.xml') diff --git a/templates/feed.xml b/templates/feed.xml index 68d2fc4..f1439eb 100644 --- a/templates/feed.xml +++ b/templates/feed.xml @@ -5,6 +5,14 @@ $feed.last_update.rfc3339$ $url.full$ + $for(author)$ + + $it.name$ + $if(it.email)$ + $it.email$ + $endif$ + + $endfor$ $for(pages)$ $for(it.all)$ @@ -12,6 +20,25 @@ $it.url.full$ <![CDATA[$it.title$]]> + $if(it.author)$ + $for(it.author)$ + + $it.name$ + $if(it.email)$ + $it.email$ + $endif$ + + $endfor$ + $else$ + $for(author)$ + + $author.name$ + $if(author.email)$ + $author.email$ + $endif$ + + $endfor$ + $endif$ $it.date.rfc3339$ $it.date.rfc3339$ -- cgit v1.2.3-54-g00ecf