From a8dca52ab169e7baa18d1fba9ab1cff2b2e820fc Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 28 May 2021 17:25:42 +0200 Subject: Use full URLs everywhere in ATOM feed --- templates/feed.xml | 2 +- templates/feed_entry.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/feed.xml b/templates/feed.xml index 738b1ec..d03b73f 100644 --- a/templates/feed.xml +++ b/templates/feed.xml @@ -2,7 +2,7 @@ <![CDATA[$if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$]]> - + $last_update.rfc3339$ $url.full$ $for(author)$ diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml index 1c0302c..410a257 100644 --- a/templates/feed_entry.xml +++ b/templates/feed_entry.xml @@ -2,9 +2,11 @@ $if(it.last_update)$ $it.url.full$ <![CDATA[$it.title$]]> - + + $if(it.date)$ + $it.date.rfc3339$ + $endif$ $it.last_update.rfc3339$ - $if(it.author)$ $for(it.author)$ @@ -24,8 +26,6 @@ $if(it.last_update)$ $endfor$ $endif$ - $if(it.date)$ - $it.date.rfc3339$ - $endif$ + $endif$ -- cgit v1.2.3-70-g09d2