Bugfix to get blog entries to render

This commit is contained in:
str4d
2012-09-14 00:13:38 +00:00
parent 0a2cb5f89c
commit b13744ae18
2 changed files with 2 additions and 1 deletions

View File

@@ -280,7 +280,7 @@ def blog_entry(slug):
if parts:
# now just pass to simple template file and we are done
return render_template('blog/entry.html', parts=parts, title=parts['title'], body=parts['fragment'])
return render_template('blog/entry.html', parts=parts, title=parts['title'], body=parts['fragment'], slug=slug)
else:
abort(404)