From 5fc46d12e90c5498ead65819006c6cf0aaa7f32b Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 29 Mar 2014 09:21:15 -0400 Subject: [PATCH] initial support for caching markdown->html results --- resources/views/posts/post.html | 2 +- src/blarg/models/posts.clj | 85 +++++++++++++++++++++------------ src/blarg/routes/posts.clj | 5 +- 3 files changed, 59 insertions(+), 33 deletions(-) diff --git a/resources/views/posts/post.html b/resources/views/posts/post.html index 15ba221..dba350e 100644 --- a/resources/views/posts/post.html +++ b/resources/views/posts/post.html @@ -26,7 +26,7 @@
- {{ post.body|md_to_html }} + {{ post.html_body }}