From 77c3c18fe2a28f5ed94cd815d07f04de39b26e60 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 3 Jul 2018 17:08:16 -0400 Subject: Added short footer to blog posts It just contains the datetime the post was written. Still not a real footer. refs #11 --- app/views/blogs/show.html.haml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/views') diff --git a/app/views/blogs/show.html.haml b/app/views/blogs/show.html.haml index 51d4aa0..e22a199 100644 --- a/app/views/blogs/show.html.haml +++ b/app/views/blogs/show.html.haml @@ -1,2 +1,6 @@ .breadcrumb= link_to "← Back to home page", root_path = render @blog +%footer#blog-footer + This entry was posted on + = succeed "." do + %time= @blog.created_at.strftime("%B #{@blog.created_at.day.ordinalize} %Y at %-I:%M:%S%P") -- cgit 1.4.1