From cfeccd69d5f81c535ffe2ad9507438149e45f03a Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 26 May 2021 09:00:02 +0200 Subject: Feed: Skip entries without last_update --- templates/feed_entry.xml | 58 ++++++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml index df44661..c9d8af5 100644 --- a/templates/feed_entry.xml +++ b/templates/feed_entry.xml @@ -1,30 +1,30 @@ - - $it.url.full$ - $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$ - $if(it.date)$ - $it.date.rfc3339$ - $endif$ - $if(it.last_update)$ +$if(it.last_update)$ + + $it.url.full$ + $it.title$ + $it.last_update.rfc3339$ - $endif$ - + $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$ + $if(it.date)$ + $it.date.rfc3339$ + $endif$ + +$endif$ -- cgit v1.2.3-70-g09d2