From b26abc90439e5e1d25176ffa80f7ba0b34b3fa43 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 6 Jan 2021 14:49:43 +0100 Subject: Improved subpage organization code in metadata filter --- templates/feed.xml | 58 +++++++++++++++++++++++++----------------------------- 1 file changed, 27 insertions(+), 31 deletions(-) (limited to 'templates/feed.xml') diff --git a/templates/feed.xml b/templates/feed.xml index 083049e..a968205 100644 --- a/templates/feed.xml +++ b/templates/feed.xml @@ -14,37 +14,33 @@ $endfor$ - $for(pages)$ - $for(it.all)$ - $if(it.date)$ - - $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.last_update.rfc3339$ - - + $for(pages.all_dated)$ + + $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$ - $endfor$ + + $it.date.rfc3339$ + $it.last_update.rfc3339$ + + $endfor$ -- cgit v1.2.3-54-g00ecf