diff options
author | Joe Sak <joe@joesak.com> | 2010-11-20 15:27:29 -0600 |
---|---|---|
committer | Joe Sak <joe@joesak.com> | 2010-11-20 15:27:29 -0600 |
commit | 30730b7920a560af652a6f355b73eacd47c4f482 (patch) | |
tree | bf46def71535cfbaab9bf3167b750df2be06cf98 /app/views/blog/posts/show.html.erb | |
parent | 7e8454d57d8dae42c587c77012466ac55060c286 (diff) | |
download | refinerycms-blog-30730b7920a560af652a6f355b73eacd47c4f482.tar.gz refinerycms-blog-30730b7920a560af652a6f355b73eacd47c4f482.tar.bz2 refinerycms-blog-30730b7920a560af652a6f355b73eacd47c4f482.zip |
Move markup around
Diffstat (limited to 'app/views/blog/posts/show.html.erb')
-rw-r--r-- | app/views/blog/posts/show.html.erb | 11 |
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> |