mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
more robust PAGINATION_(URL|SAVE_AS) support
- add base_name and number_seperator to context to give more flexibility when naming things
This commit is contained in:
parent
c5eecd23eb
commit
e07b39dfcb
2 changed files with 9 additions and 2 deletions
|
|
@ -150,7 +150,7 @@ class Writer(object):
|
|||
# check paginated
|
||||
paginated = paginated or {}
|
||||
if paginated:
|
||||
name_root, ext = os.path.splitext(name)
|
||||
name_root = os.path.splitext(name)[0]
|
||||
|
||||
# pagination needed, init paginators
|
||||
paginators = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue