mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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:
parent
86f62d0a92
commit
bb682973fb
3 changed files with 7 additions and 9 deletions
|
|
@ -998,10 +998,10 @@ the ``TAG_FEED_ATOM`` and ``TAG_FEED_RSS`` settings:
|
|||
placeholder. If not set, ``TAG_FEED_RSS`` is used both for save location and
|
||||
URL.
|
||||
|
||||
.. data:: FEED_MAX_ITEMS
|
||||
.. data:: FEED_MAX_ITEMS = 100
|
||||
|
||||
Maximum number of items allowed in a feed. Feed item quantity is
|
||||
unrestricted by default.
|
||||
Maximum number of items allowed in a feed. Setting to ``None`` will cause the
|
||||
feed to contains every article. 100 if not specified.
|
||||
|
||||
.. data:: RSS_FEED_SUMMARY_ONLY = True
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue