about summary refs log tree commit diff stats
path: root/app/views/blogs
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-14 10:15:24 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-14 10:15:24 -0400
commit0aace2986a9a7a6d4c84a9ba6819d3df7821e267 (patch)
tree450acd91cbd522d47577233ca28725ede6697bb2 /app/views/blogs
parent07ac5db98c8884e0de81fc6c0ab873854a852ca5 (diff)
downloadthoughts-0aace2986a9a7a6d4c84a9ba6819d3df7821e267.tar.gz
thoughts-0aace2986a9a7a6d4c84a9ba6819d3df7821e267.tar.bz2
thoughts-0aace2986a9a7a6d4c84a9ba6819d3df7821e267.zip
Blogs have an author now
Diffstat (limited to 'app/views/blogs')
-rw-r--r--app/views/blogs/_blog.html.haml4
1 files changed, 2 insertions, 2 deletions
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 @@
5 %span.post-day= blog.visible_date.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= blog.user.login.capitalize
9 %ul.post-tag-3 9 %ul.post-tag-3
10 - blog.tags.each do |tag| 10 - blog.tags.each do |tag|
11 %li= link_to tag, tag_url(tag.name) 11 %li= link_to tag, tag_url(tag.name)
@@ -16,6 +16,6 @@
16 - else 16 - else
17 = markdown(blog.body) 17 = markdown(blog.body)
18 %cite.bubble 18 %cite.bubble
19 %strong Hatkirby 19 %strong= blog.user.login.capitalize
20 on 20 on
21 = blog.visible_date.strftime("%B #{blog.visible_date.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")