aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2010-11-20 15:27:29 -0600
committerJoe Sak <joe@joesak.com>2010-11-20 15:27:29 -0600
commit30730b7920a560af652a6f355b73eacd47c4f482 (patch)
treebf46def71535cfbaab9bf3167b750df2be06cf98 /app/views
parent7e8454d57d8dae42c587c77012466ac55060c286 (diff)
downloadrefinerycms-blog-30730b7920a560af652a6f355b73eacd47c4f482.tar.gz
refinerycms-blog-30730b7920a560af652a6f355b73eacd47c4f482.tar.bz2
refinerycms-blog-30730b7920a560af652a6f355b73eacd47c4f482.zip
Move markup around
Diffstat (limited to 'app/views')
-rw-r--r--app/views/blog/posts/show.html.erb11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb
index 4d82575..d277ef5 100644
--- a/app/views/blog/posts/show.html.erb
+++ b/app/views/blog/posts/show.html.erb
@@ -10,12 +10,13 @@
<% content_for :body_content_left do %>
<div id="show_blog_post">
<%= render 'post' %>
+ <% if next_or_previous?(@blog_post) -%>
+ <nav id="next_prev_article">
+ <%= render 'nav' %>
+ </nav><!-- /next_prev_article -->
+ <% end -%>
</div>
- <% if next_or_previous?(@blog_post) -%>
- <nav id="next_prev_article">
- <%= render 'nav' %>
- </nav><!-- /next_prev_article -->
- <% end -%>
+
<% if BlogPost.comments_allowed? %>
<aside id="comments">
<h2><%= t('.comments.title') %></h2>