mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Last fix?
This commit is contained in:
parent
9dcf612f9d
commit
898ac3808f
2 changed files with 10 additions and 5 deletions
|
|
@ -99,7 +99,11 @@ class Writer(object):
|
|||
:param **kwargs: additional variables to pass to the templates
|
||||
"""
|
||||
|
||||
if not name: return
|
||||
if name is False:
|
||||
return
|
||||
elif not name:
|
||||
# other stuff, just return for now
|
||||
return
|
||||
|
||||
def _write_file(template, localcontext, output_path, name):
|
||||
"""Render the template write the file."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue