From 0aace2986a9a7a6d4c84a9ba6819d3df7821e267 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 14 Oct 2023 10:15:24 -0400 Subject: Blogs have an author now --- app/views/blogs/_blog.html.haml | 4 ++-- 1 file changed, 2 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 5467683..ec61bb5 100644 --- a/app/views/blogs/_blog.html.haml +++ b/app/views/blogs/_blog.html.haml @@ -5,7 +5,7 @@ %span.post-day= blog.visible_date.day .blog-title %h2= link_to_unless_current blog.title, blog - .post-author Hatkirby + .post-author= blog.user.login.capitalize %ul.post-tag-3 - blog.tags.each do |tag| %li= link_to tag, tag_url(tag.name) @@ -16,6 +16,6 @@ - else = markdown(blog.body) %cite.bubble - %strong Hatkirby + %strong= blog.user.login.capitalize on = blog.visible_date.strftime("%B #{blog.visible_date.day.ordinalize}, %Y at %-I:%M:%S%P") -- cgit 1.4.1