forked from github/pelican
Add a setting to limit feeds to a max number of items.
This adds FEED_MAX_ITEMS, which dictates the maximum number of items allowed in a feed.
This commit is contained in:
parent
73ba522508
commit
cd277672d0
3 changed files with 8 additions and 2 deletions
|
|
@ -15,6 +15,7 @@ _DEFAULT_CONFIG = {'PATH': None,
|
|||
'FEED': 'feeds/all.atom.xml',
|
||||
'CATEGORY_FEED': 'feeds/%s.atom.xml',
|
||||
'TRANSLATION_FEED': 'feeds/all-%s.atom.xml',
|
||||
'FEED_MAX_ITEMS': '',
|
||||
'SITENAME': 'A Pelican Blog',
|
||||
'DISPLAY_PAGES_ON_MENU': True,
|
||||
'PDF_GENERATOR': False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue