mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
check empty pagination save_as
This commit is contained in:
parent
de71f39232
commit
6f0d072f55
1 changed files with 3 additions and 2 deletions
|
|
@ -262,8 +262,9 @@ class Writer(object):
|
|||
|
||||
localcontext = _get_localcontext(
|
||||
context, page.save_as, paginated_kwargs, relative_urls)
|
||||
_write_file(template, localcontext, self.output_path,
|
||||
page.save_as, override_output)
|
||||
if page.save_as:
|
||||
_write_file(template, localcontext, self.output_path,
|
||||
page.save_as, override_output)
|
||||
else:
|
||||
# no pagination
|
||||
localcontext = _get_localcontext(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue