app/views/refinery/blog/posts/show.html.erb in refinerycms-blog-2.0.5 vs app/views/refinery/blog/posts/show.html.erb in refinerycms-blog-2.1.0
- old
+ new
@@ -1,21 +1,19 @@
<% content_for :body do %>
<div id="show_blog_post">
<%= render 'post' %>
</div>
- <% if Refinery::Blog::Post.comments_allowed? %>
- <%= render 'comments'%>
- <% end %>
+ <%= render 'comments' %>
<% end %>
-<%= render :partial => '/refinery/blog/shared/body_content_right' %>
+<%= render '/refinery/blog/shared/body_content_right' %>
-<%= render :partial => "/refinery/content_page", :locals => { :remove_automatic_sections => true } %>
+<%= render "/refinery/content_page", :remove_automatic_sections => true %>
<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/frontend') %>
<% content_for :javascripts do %>
<%# enable AJAX'd post nav at your own risk until html5 history API implemented. %>
<%#= javascript_include_tag('refinery/blog/frontend') %>
<script src="http://w.sharethis.com/button/buttons.js"></script>
- <script>stLight.options({publisher:'<%= Blog::Post::ShareThis.key %>'});</script>
+ <script>stLight.options({publisher:'<%= Refinery::Blog.share_this_key %>'});</script>
<% end if Refinery::Blog::Post::ShareThis.enabled? %>