mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Allow to cap the pagination
This way one could only generate one page of content by using MAX_PAGINATION = 1
This commit is contained in:
parent
2eeff62fd7
commit
6fc577e505
4 changed files with 26 additions and 0 deletions
|
|
@ -1038,6 +1038,11 @@ You can use the following settings to configure the pagination.
|
|||
The maximum number of articles to include on a page, not including orphans.
|
||||
False to disable pagination.
|
||||
|
||||
.. data:: MAX_PAGINATION = False
|
||||
|
||||
The maximum number of pages generated. ``False`` to paginate all available
|
||||
pages.
|
||||
|
||||
.. data:: PAGINATED_TEMPLATES = {'index': None, 'tag': None, 'category': None, 'author': None}
|
||||
|
||||
The templates to use pagination with, and the number of articles to include
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue