aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/refinery/blog/posts/index.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/refinery/blog/posts/index.html.erb b/app/views/refinery/blog/posts/index.html.erb
index 4eef04f..a83d94f 100644
--- a/app/views/refinery/blog/posts/index.html.erb
+++ b/app/views/refinery/blog/posts/index.html.erb
@@ -1,5 +1,5 @@
<% content_for :body_content_left do %>
- <%=raw @page[::Refinery::Page.default_parts.first.to_sym] if ::Refinery::Page.default_parts.any? %>
+ <%= raw @page.content_for(::Refinery::Page.default_parts.first.to_sym) if ::Refinery::Page.default_parts.any? %>
<% if @blog_posts.any? %>
<section id="blog_posts">
@@ -12,8 +12,8 @@
<% end %>
<% content_for :body_content_right_prepend do -%>
- <%= raw @page[::Refinery::Page.default_parts.second.to_sym] if ::Refinery::Page.default_parts.many? %>
-<% end -%>
+ <%= raw @page.content_for(::Refinery::Page.default_parts.second.to_sym) %>
+<% end if ::Refinery::Page.default_parts.many? -%>
<%= render :partial => '/refinery/blog/shared/body_content_right' %>
<%= render :partial => "/refinery/content_page" %>