Don't specify unlimited feed size by default

Having a feed with hundreds of articles, making a very large file, is
rarely expected.

Set a high fallback value of 100 so it does not change for small sites.

Still allow to have infinite feed by setting FEED_MAX_ITEM = None
This commit is contained in:
Martin (mart-e) 2023-05-06 08:40:29 +02:00
commit bb682973fb
3 changed files with 7 additions and 9 deletions

View file

@ -40,7 +40,7 @@ DEFAULT_CONFIG = {
'AUTHOR_FEED_ATOM': 'feeds/{slug}.atom.xml',
'AUTHOR_FEED_RSS': 'feeds/{slug}.rss.xml',
'TRANSLATION_FEED_ATOM': 'feeds/all-{lang}.atom.xml',
'FEED_MAX_ITEMS': '',
'FEED_MAX_ITEMS': 100,
'RSS_FEED_SUMMARY_ONLY': True,
'SITEURL': '',
'SITENAME': 'A Pelican Blog',