mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
PAGINATION_URL/PAGINATION_SAVE_AS implementation
allows the use of custom urls for pagination similar to *_URLS
This commit is contained in:
parent
e32c893aa1
commit
c5eecd23eb
8 changed files with 66 additions and 33 deletions
|
|
@ -73,6 +73,8 @@ DEFAULT_CONFIG = {
|
|||
'TAG_SAVE_AS': os.path.join('tag', '{slug}.html'),
|
||||
'AUTHOR_URL': 'author/{slug}.html',
|
||||
'AUTHOR_SAVE_AS': os.path.join('author', '{slug}.html'),
|
||||
'PAGINATION_URL': '{name}{number}.html',
|
||||
'PAGINATION_SAVE_AS': '{name}{number}.html',
|
||||
'YEAR_ARCHIVE_SAVE_AS': False,
|
||||
'MONTH_ARCHIVE_SAVE_AS': False,
|
||||
'DAY_ARCHIVE_SAVE_AS': False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue