From 011e38d0175f69c8f902bfbc5676384f8b756eaf Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 26 May 2021 09:39:23 +0200 Subject: Include content in ATOM feeds --- templates/feed.xml | 2 +- templates/feed_entry.xml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/feed.xml b/templates/feed.xml index 458202a..738b1ec 100644 --- a/templates/feed.xml +++ b/templates/feed.xml @@ -1,6 +1,6 @@ - $if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$ + <![CDATA[$if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$]]> $last_update.rfc3339$ diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml index c9d8af5..1c0302c 100644 --- a/templates/feed_entry.xml +++ b/templates/feed_entry.xml @@ -1,9 +1,10 @@ $if(it.last_update)$ $it.url.full$ - $it.title$ - + <![CDATA[$it.title$]]> + $it.last_update.rfc3339$ + $if(it.author)$ $for(it.author)$ -- cgit v1.2.3-70-g09d2