From 812bff92c069b5932ef49e1b2d6827c8286c1075 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Sun, 14 Feb 2016 14:41:00 +1300 Subject: Update page part format --- app/views/refinery/blog/posts/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/refinery/blog/posts/index.html.erb b/app/views/refinery/blog/posts/index.html.erb index 772f2ec..3a386f9 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 do %> - <%= raw @page.content_for(Refinery::Pages.default_parts.first.to_sym) if Refinery::Pages.default_parts.any? %> + <%= raw @page.content_for(Refinery::Pages.default_parts.first[:slug].to_sym) if Refinery::Pages.default_parts.any? %> <% if @posts.any? %>
@@ -12,7 +12,7 @@ <% end %> <% content_for :side_body_prepend do -%> - <%= raw @page.content_for(Refinery::Pages.default_parts.second.to_sym) %> + <%= raw @page.content_for(Refinery::Pages.default_parts.second[:slug].to_sym) %> <% end if Refinery::Pages.default_parts.many? -%> <%= render '/refinery/blog/shared/body_content_right' %> -- cgit v1.2.3