aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-03-04 12:46:53 -0600
committerJoe Sak <joe@joesak.com>2011-03-04 12:46:53 -0600
commit2907a619a437ee44c7feb67c29deab8ef36a1694 (patch)
treefc77094537bde523c6bf8fe8e92bbc22323630db /app
parenta2c0a7122a637d95aa0ee9a9d6cb7a6cd7cca2ac (diff)
downloadrefinerycms-blog-2907a619a437ee44c7feb67c29deab8ef36a1694.tar.gz
refinerycms-blog-2907a619a437ee44c7feb67c29deab8ef36a1694.tar.bz2
refinerycms-blog-2907a619a437ee44c7feb67c29deab8ef36a1694.zip
<aside> can't be inside <p> (thanks IRC channel member t4nkD)
Diffstat (limited to 'app')
-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 %>