diff --git a/posts/build_a_blog.md b/posts/build_a_blog.md index 8ab68c7..b588bb4 100644 --- a/posts/build_a_blog.md +++ b/posts/build_a_blog.md @@ -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.