mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Remove WITH_PAGINATION, only have a DEFAULT_PAGINATION setting
DEFAULT_PAGINATION can be set to False instead of using WITH_PAGINATION
This commit is contained in:
parent
522ac12dc9
commit
2be58aa51a
5 changed files with 10 additions and 11 deletions
|
|
@ -127,7 +127,7 @@ class Writer(object):
|
|||
for key in paginated.iterkeys():
|
||||
object_list = paginated[key]
|
||||
|
||||
if self.settings.get('WITH_PAGINATION'):
|
||||
if self.settings.get('DEFAULT_PAGINATION'):
|
||||
paginators[key] = Paginator(object_list,
|
||||
self.settings.get('DEFAULT_PAGINATION'),
|
||||
self.settings.get('DEFAULT_ORPHANS'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue