about summary refs log tree commit diff stats
path: root/app/views/blogs
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/blogs')
-rw-r--r--app/views/blogs/_blog.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/blogs/_blog.html.haml b/app/views/blogs/_blog.html.haml index c607e63..5467683 100644 --- a/app/views/blogs/_blog.html.haml +++ b/app/views/blogs/_blog.html.haml
@@ -1,8 +1,8 @@
1%article#blog-post 1%article#blog-post
2 %header 2 %header
3 .post-calendar{ class: "post-date-#{(blog.published_at.year - 2007) % 4 + 1}" } 3 .post-calendar{ class: "post-date-#{(blog.visible_date.year - 2007) % 4 + 1}" }
4 %span.post-month= blog.published_at.strftime("%^b") 4 %span.post-month= blog.visible_date.strftime("%^b")
5 %span.post-day= blog.published_at.day 5 %span.post-day= blog.visible_date.day
6 .blog-title 6 .blog-title
7 %h2= link_to_unless_current blog.title, blog 7 %h2= link_to_unless_current blog.title, blog
8 .post-author Hatkirby 8 .post-author Hatkirby
@@ -18,4 +18,4 @@
18 %cite.bubble 18 %cite.bubble
19 %strong Hatkirby 19 %strong Hatkirby
20 on 20 on
21 = blog.published_at.strftime("%B #{blog.published_at.day.ordinalize}, %Y at %-I:%M:%S%P") 21 = blog.visible_date.strftime("%B #{blog.visible_date.day.ordinalize}, %Y at %-I:%M:%S%P")