forked from github/pelican
Merge pull request #326 from neoascetic/_save_as_behavior
*_SAVE_AS = False fix
This commit is contained in:
commit
58d98e918f
3 changed files with 14 additions and 1 deletions
|
|
@ -99,6 +99,12 @@ class Writer(object):
|
|||
:param **kwargs: additional variables to pass to the templates
|
||||
"""
|
||||
|
||||
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."""
|
||||
old_locale = locale.setlocale(locale.LC_ALL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue