From 835af696703484208882a70cc5dd47c5838ecf58 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 12 Oct 2023 17:10:34 -0400 Subject: Added blog post commenting --- app/views/blogs/_blog.html.haml | 2 +- app/views/blogs/show.html.haml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'app/views/blogs') diff --git a/app/views/blogs/_blog.html.haml b/app/views/blogs/_blog.html.haml index 26657e7..8972c2e 100644 --- a/app/views/blogs/_blog.html.haml +++ b/app/views/blogs/_blog.html.haml @@ -15,4 +15,4 @@ %cite.bubble %strong Hatkirby on - = blog.published_at.strftime("%m-%d-%Y") + = blog.published_at.strftime("%B #{blog.published_at.day.ordinalize}, %Y at %-I:%M:%S%P") diff --git a/app/views/blogs/show.html.haml b/app/views/blogs/show.html.haml index 9bff12b..0c549ac 100644 --- a/app/views/blogs/show.html.haml +++ b/app/views/blogs/show.html.haml @@ -1,7 +1,4 @@ - title @blog.title .breadcrumb= link_to "← Back to home page", root_path = render @blog, short: false -%footer#blog-footer - This entry was posted on - = succeed "." do - %time= @blog.published_at.strftime("%B #{@blog.published_at.day.ordinalize}, %Y at %-I:%M:%S%P") += show_comments(@blog) -- cgit 1.4.1