diff options
Diffstat (limited to 'app/views/blogs/_blog.html.haml')
-rw-r--r-- | app/views/blogs/_blog.html.haml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/blogs/_blog.html.haml b/app/views/blogs/_blog.html.haml index 317ef1f..389f961 100644 --- a/app/views/blogs/_blog.html.haml +++ b/app/views/blogs/_blog.html.haml | |||
@@ -6,4 +6,9 @@ | |||
6 | .blog-title | 6 | .blog-title |
7 | %h2= blog.title | 7 | %h2= blog.title |
8 | .post-author Hatkirby | 8 | .post-author Hatkirby |
9 | %blockquote#blog-content.entry-content.bubble.rounded.bottom= blog.body.html_safe | 9 | %blockquote#blog-content.entry-content.bubble.rounded.bottom |
10 | - if short and blog.has_read_more | ||
11 | = markdown(blog.short_body) | ||
12 | = link_to "Read more...", blog | ||
13 | - else | ||
14 | = markdown(blog.body) | ||