Fix for Pelican 4.0 for CATEGORY_FEED_RSS.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 23 Apr 2019 05:03:43 +0000 (14:03 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 23 Apr 2019 05:03:43 +0000 (14:03 +0900)
pelicanconf.py

index 827543e..e248752 100644 (file)
@@ -15,7 +15,7 @@ DEFAULT_LANG = u'ja'
 # Feed generation
 FEED_RSS = 'feeds/rss.xml'
 FEED_ALL_RSS = 'feeds/all_rss.xml'
-CATEGORY_FEED_RSS = 'feeds/%s_rss.xml'
+CATEGORY_FEED_RSS = 'feeds/{slug}_rss.xml'
 TRANSLATION_FEED_RSS = None
 FEED_MAX_ITEMS=20