forked from github/pelican
Pagination added for index and tag/category pages
This commit is contained in:
parent
4edb5bf497
commit
4111acd1c1
6 changed files with 164 additions and 8 deletions
|
|
@ -30,6 +30,9 @@ _DEFAULT_CONFIG = {'PATH': None,
|
|||
'DATE_FORMATS': {},
|
||||
'JINJA_EXTENSIONS': [],
|
||||
'LOCALE': '', # default to user locale
|
||||
'WITH_PAGINATION': True,
|
||||
'DEFAULT_PAGINATION': 5,
|
||||
'DEFAULT_ORPHANS': 0,
|
||||
}
|
||||
|
||||
def read_settings(filename):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue