aboutsummaryrefslogtreecommitdiffstats
path: root/templates/show_post.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-01-20 14:06:02 +0100
committerHarald Eilertsen <haraldei@anduin.net>2018-01-20 14:06:02 +0100
commit178a9f444b5250a5b76d3d1a98297da8572a05e5 (patch)
treeb545c2f0ee7f04cb4bad7d4a643f681caacab9be /templates/show_post.html
parent5911221d9fca1c1cfb4c9a31ad159d39461e9b7f (diff)
downloadrocket-blog-178a9f444b5250a5b76d3d1a98297da8572a05e5.tar.gz
rocket-blog-178a9f444b5250a5b76d3d1a98297da8572a05e5.tar.bz2
rocket-blog-178a9f444b5250a5b76d3d1a98297da8572a05e5.zip
Add markdown support for posts using comrak.
Diffstat (limited to 'templates/show_post.html')
-rw-r--r--templates/show_post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_post.html b/templates/show_post.html
index 9e633cc..0db8981 100644
--- a/templates/show_post.html
+++ b/templates/show_post.html
@@ -5,7 +5,7 @@
{{> post_actions.html }}
</header>
<section class="teaser">
- {{ .body }}
+ {{{ rendered_body() }}}
</section>
{{/ post }}
</article>