diff options
Diffstat (limited to 'app/views/blogs')
-rw-r--r-- | app/views/blogs/_blog.html.haml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/app/views/blogs/_blog.html.haml b/app/views/blogs/_blog.html.haml index 91b1d20..317ef1f 100644 --- a/app/views/blogs/_blog.html.haml +++ b/app/views/blogs/_blog.html.haml | |||
@@ -1,3 +1,9 @@ | |||
1 | %article#blog-post | 1 | %article#blog-post |
2 | %h2#blog-title= blog.title | 2 | %header |
3 | %section#blog-content.entry-content= blog.body.html_safe | 3 | .post-calendar{ class: "post-date-#{(blog.published_at.year - 2007) % 4 + 1}" } |
4 | %span.post-month= blog.published_at.strftime("%^b") | ||
5 | %span.post-day= blog.published_at.day | ||
6 | .blog-title | ||
7 | %h2= blog.title | ||
8 | .post-author Hatkirby | ||
9 | %blockquote#blog-content.entry-content.bubble.rounded.bottom= blog.body.html_safe | ||