diff options
| author | Yuval Adam <_@yuv.al> | 2017-08-07 09:42:33 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-08-07 09:42:33 +0300 |
| commit | 481b44872f39053669ca9a517b52ad521afe610b (patch) | |
| tree | 1e294e1049db2c2df070d13e0e00e8431c502478 /app.py | |
| parent | bba24332c95d899101bc7abdfd19a6cd4ef296d8 (diff) | |
Sample blog post
Diffstat (limited to 'app.py')
| -rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] |
