diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-03 17:08:16 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-03 17:08:16 -0400 |
commit | 77c3c18fe2a28f5ed94cd815d07f04de39b26e60 (patch) | |
tree | 13e4f1736d93c7e7fe3b361790aeb2e482dc0bce /app/views/blogs | |
parent | a83cd5b38e2a753e5bbefadd818f01a9ee5f2bab (diff) | |
download | thoughts-77c3c18fe2a28f5ed94cd815d07f04de39b26e60.tar.gz thoughts-77c3c18fe2a28f5ed94cd815d07f04de39b26e60.tar.bz2 thoughts-77c3c18fe2a28f5ed94cd815d07f04de39b26e60.zip |
Added short footer to blog posts
It just contains the datetime the post was written. Still not a real footer. refs #11
Diffstat (limited to 'app/views/blogs')
-rw-r--r-- | app/views/blogs/show.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
1 | .breadcrumb= link_to "← Back to home page", root_path | 1 | .breadcrumb= link_to "← Back to home page", root_path |
2 | = render @blog | 2 | = render @blog |
3 | %footer#blog-footer | ||
4 | This entry was posted on | ||
5 | = succeed "." do | ||
6 | %time= @blog.created_at.strftime("%B #{@blog.created_at.day.ordinalize} %Y at %-I:%M:%S%P") | ||