about summary refs log tree commit diff stats
path: root/app/views/blogs/_blog.html.haml
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-10 22:23:24 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-10 22:23:24 -0400
commit1622895cd467f59f25fe375f081aa59693ae4c8f (patch)
treed9ee2dfe857cc41864529f05d4c45d34a5131b4e /app/views/blogs/_blog.html.haml
parent6bb3f3216ec2fdfa34907ca708535cc879eaf2f5 (diff)
downloadthoughts-1622895cd467f59f25fe375f081aa59693ae4c8f.tar.gz
thoughts-1622895cd467f59f25fe375f081aa59693ae4c8f.tar.bz2
thoughts-1622895cd467f59f25fe375f081aa59693ae4c8f.zip
Hey it looks like Four Island
Diffstat (limited to 'app/views/blogs/_blog.html.haml')
-rw-r--r--app/views/blogs/_blog.html.haml10
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