build_a_blog: fix duped output

This commit is contained in:
Collin Lefeber 2024-06-19 16:24:04 -04:00
parent 906a5e04ea
commit 4b39494e82
2 changed files with 10 additions and 10 deletions

View file

@ -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)