diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-11 12:12:25 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-11 12:12:25 -0400 |
commit | e09aa803cf3905c82c29dbaa9101cc4a4639cc5a (patch) | |
tree | 507ffb887044bfbcd2fd5cf89f8fe587654d01ba /app/views/blogs/_blog.html.haml | |
parent | 3a628945ade35f3ba351ba90e271608520753174 (diff) | |
download | thoughts-e09aa803cf3905c82c29dbaa9101cc4a4639cc5a.tar.gz thoughts-e09aa803cf3905c82c29dbaa9101cc4a4639cc5a.tar.bz2 thoughts-e09aa803cf3905c82c29dbaa9101cc4a4639cc5a.zip |
We're on Markdown now
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) | ||