diff options
author | MinchinWeb <w_minchin@hotmail.com> | 2018-11-03 09:12:20 -0600 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2018-11-03 16:12:20 +0100 |
commit | 3a0add4b6e66fe08e9f5710f98235491c09e4f81 (patch) | |
tree | 393369e2d7f130595b59a2ddb6433f98d21de62f /samples | |
parent | 682b0b6711369637fefd96eb2da95cbd5bfaa85e (diff) | |
download | pelican-3a0add4b6e66fe08e9f5710f98235491c09e4f81.tar.gz |
Convert FEED settings from `%s` to `{slug}` redux (#2432)
* Convert FEED settings from `%s` to `{slug}` redux
Closes #2106, Closes #2383
Diffstat (limited to 'samples')
-rwxr-xr-x | samples/pelican.conf.py | 2 | ||||
-rw-r--r-- | samples/pelican.conf_FR.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/samples/pelican.conf.py b/samples/pelican.conf.py index da5c5dc5..0f67ee83 100755 --- a/samples/pelican.conf.py +++ b/samples/pelican.conf.py @@ -18,7 +18,7 @@ DEFAULT_PAGINATION = 4 DEFAULT_DATE = (2012, 3, 2, 14, 1, 1) FEED_ALL_RSS = 'feeds/all.rss.xml' -CATEGORY_FEED_RSS = 'feeds/%s.rss.xml' +CATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml' LINKS = (('Biologeek', 'http://biologeek.org'), ('Filyb', "http://filyb.info/"), diff --git a/samples/pelican.conf_FR.py b/samples/pelican.conf_FR.py index 54b348c4..b1571e8a 100644 --- a/samples/pelican.conf_FR.py +++ b/samples/pelican.conf_FR.py @@ -22,7 +22,7 @@ ARTICLE_URL = 'posts/{date:%Y}/{date:%B}/{date:%d}/{slug}/' ARTICLE_SAVE_AS = ARTICLE_URL + 'index.html' FEED_ALL_RSS = 'feeds/all.rss.xml' -CATEGORY_FEED_RSS = 'feeds/%s.rss.xml' +CATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml' LINKS = (('Biologeek', 'http://biologeek.org'), ('Filyb', "http://filyb.info/"), |