summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-08-07 09:42:33 +0300
committerYuval Adam <_@yuv.al>2017-08-07 09:42:33 +0300
commit481b44872f39053669ca9a517b52ad521afe610b (patch)
tree1e294e1049db2c2df070d13e0e00e8431c502478 /app.py
parentbba24332c95d899101bc7abdfd19a6cd4ef296d8 (diff)
Sample blog post
Diffstat (limited to 'app.py')
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index e0b4d13..97fe702 100644
--- a/app.py
+++ b/app.py
@@ -33,7 +33,7 @@ def blog_post(y, m, d, title):
if h.startswith('title'):
title = h.split('title:')[0].strip()
html = markdown.markdown(body, extensions=['markdown.extensions.extra', 'markdown.extensions.codehilite'])
- return render_template('post.html', title=title, html=html)
+ return render_template('blog-post.html', title=title, html=html)
def parse_page(page):
slug = page[:-3]