Add option to include full content into RSS feeds

Include only summary by default.

This follow ups pull [1], where RSS feeds become summary-only.

[1]: https://github.com/getpelican/pelican/pull/1989
This commit is contained in:
Alexander Turenko 2016-11-16 02:18:46 +03:00
commit d3b22c6e21
3 changed files with 13 additions and 1 deletions

View file

@ -839,6 +839,12 @@ the ``TAG_FEED_ATOM`` and ``TAG_FEED_RSS`` settings:
Maximum number of items allowed in a feed. Feed item quantity is
unrestricted by default.
.. data:: RSS_FEED_SUMMARY_ONLY = True
Only include item summaries in the ``description`` tag of RSS feeds. If set
to ``False``, the full content will be included instead. This setting
doesn't affect Atom feeds, only RSS ones.
If you don't want to generate some or any of these feeds, set the above variables to ``None``.
.. [2] %s is the name of the category.