Skip to content

Commit d7278f4

Browse files
committed
Use abbr of hash rocket in Blog Post
1 parent 54b5590 commit d7278f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/views/blog_post_page/index.html.erb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
<% end %>
66
<% end %>
77

8-
 <%= content_tag(:div, scrivito_value(@obj.created.strftime("%Y年%m月%d日")), :class => "text-muted h4") %>
8+
<%= content_tag :div, scrivito_value(@obj.created.strftime("%Y年%m月%d日")),
9+
class: "text-muted h4" %>
910
<hr>
1011
<%= scrivito_tag :h1, @obj, :title %>
1112
<%= scrivito_tag :div, @obj, :abstract %>
12-
<%= scrivito_image_tag @obj, :image ,:class => "img-responsive" %>
13+
<%= scrivito_image_tag @obj, :image, class: "img-responsive" %>
1314
<%= scrivito_tag :div, @obj, :body %>
1415
</div>

0 commit comments

Comments
 (0)