From 715066eb931b0b74afb8746e0cf0d263ddedc7b3 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 25 May 2021 15:28:14 +0700 Subject: Bundle full content in RSS feed --- _rss/item.xml | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) (limited to '_rss/item.xml') diff --git a/_rss/item.xml b/_rss/item.xml index 07f6506..554a7fd 100644 --- a/_rss/item.xml +++ b/_rss/item.xml @@ -17,44 +17,31 @@ We use the conservative 'only one' approach by default but you could tweak this defining your own `rss_enclosures` variable with a list of string and use that. --> - - <![CDATA[ {{fd2rss rss_title}} ]]> - - {{fd_full_url}} - {{fd_full_url}} + <![CDATA[{{fd2rss rss_title}}]]> + {{fd_full_url}} + {{fd_full_url}} - + {{if rss_full_content}} - + {{end}} {{RFC822 rss_pubdate}} - - {{isnotempty rss_author}} - {{rss_author}} - {{end}} + {{isnotempty rss_author}}{{rss_author}}{{end}} {{isnotempty author}} {{author}} {{end}} - {{isnotempty rss_category}} - {{rss_category}} - {{end}} - - {{isnotempty rss_comments}} - {{rss_comments}} - {{end}} - - {{isnotempty rss_enclosure}} - {{rss_enclosure}} - {{end}} + {{isnotempty rss_category}}{{rss_category}}{{end}} + {{isnotempty rss_comments}}{{rss_comments}}{{end}} + {{isnotempty rss_enclosure}}{{rss_enclosure}}{{end}} -- cgit 1.4.1