build_a_blog: fix var name
This commit is contained in:
parent
53139c0f52
commit
11a9582a4d
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ def render_post(fpath):
|
|||
...
|
||||
out = markdown.markdown('# ' + title) + out
|
||||
logging.info("writing to %s", destpath)
|
||||
render_template('index.html.tmpl', destpath, html)
|
||||
render_template('index.html.tmpl', destpath, out)
|
||||
```
|
||||
|
||||
After running you should see the each `post/*.html` file where each post file uses the full index template and includes each generated post HTML.
|
||||
|
|
Loading…
Reference in a new issue