mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Provides Custom URLs for FEEDS
Provides an optional FEED URL. Feed variables have been split into two, _SAVE_AS and _URL. _SAVE_AS variables are used to define the RSS/ATOM Files. _URL variables are the feed slugs (aligns to post/page variables) Using rewrite rules (nginx/apache) it is now possible to have _pretty_ feed URLS like /feed or /feed/tag/pelican
This commit is contained in:
parent
9152e021e2
commit
7f8df5bb8e
12 changed files with 223 additions and 131 deletions
|
|
@ -17,8 +17,8 @@ LOCALE = "C"
|
|||
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'
|
||||
FEED_ALL_RSS_SAVE_AS = 'feeds/all.rss.xml'
|
||||
CATEGORY_FEED_RSS_SAVE_AS = 'feeds/%s.rss.xml'
|
||||
|
||||
LINKS = (('Biologeek', 'http://biologeek.org'),
|
||||
('Filyb', "http://filyb.info/"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue