build_a_blog: fix duped output
This commit is contained in:
parent
906a5e04ea
commit
4b39494e82
2 changed files with 10 additions and 10 deletions
2
main.py
2
main.py
|
@ -38,7 +38,7 @@ def render_post(fpath):
|
|||
if meta.get('draft'):
|
||||
draft = True
|
||||
|
||||
title_out, _ = convert(text)
|
||||
title_out, _ = convert('# ' + title)
|
||||
out = title_out + out
|
||||
|
||||
logging.info("writing to %s", destpath)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue