From 11a9582a4dd45d116859e08e2e59eb7dbed006cb Mon Sep 17 00:00:00 2001 From: Collin Lefeber Date: Wed, 19 Jun 2024 16:50:24 -0400 Subject: [PATCH] build_a_blog: fix var name --- posts/build_a_blog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.