From 1622895cd467f59f25fe375f081aa59693ae4c8f Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 10 Oct 2023 22:23:24 -0400 Subject: Hey it looks like Four Island --- app/views/blogs/_blog.html.haml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'app/views/blogs') 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 @@ %article#blog-post - %h2#blog-title= blog.title - %section#blog-content.entry-content= blog.body.html_safe + %header + .post-calendar{ class: "post-date-#{(blog.published_at.year - 2007) % 4 + 1}" } + %span.post-month= blog.published_at.strftime("%^b") + %span.post-day= blog.published_at.day + .blog-title + %h2= blog.title + .post-author Hatkirby + %blockquote#blog-content.entry-content.bubble.rounded.bottom= blog.body.html_safe -- cgit 1.4.1