aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/blog/shared/_post.html.erb19
1 files changed, 9 insertions, 10 deletions
diff --git a/app/views/blog/shared/_post.html.erb b/app/views/blog/shared/_post.html.erb
index 2d09618..2e92f73 100644
--- a/app/views/blog/shared/_post.html.erb
+++ b/app/views/blog/shared/_post.html.erb
@@ -24,17 +24,16 @@
<footer>
<p>
<%= link_to t('blog.shared.posts.read_more'), blog_post_url(post) %>
-
- <aside class='comment_count'>
- <% if BlogPost.comments_allowed? %>
- <% if post.comments.any? %>
- (<%= pluralize(post.comments.approved.count, t('blog.shared.comments.singular')) %>)
- <% else %>
- (<%= t('blog.shared.comments.none') %>)
- <% end %>
- <% end %>
- </aside>
</p>
+ <aside class='comment_count'>
+ <% if BlogPost.comments_allowed? %>
+ <% if post.comments.any? %>
+ (<%= pluralize(post.comments.approved.count, t('blog.shared.comments.singular')) %>)
+ <% else %>
+ (<%= t('blog.shared.comments.none') %>)
+ <% end %>
+ <% end %>
+ </aside>
</footer>
</article>
<% end %>