aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/common/_right_sidebar.html.erb4
-rw-r--r--app/views/refinery/pages/home.html.erb10
2 files changed, 8 insertions, 6 deletions
diff --git a/app/views/common/_right_sidebar.html.erb b/app/views/common/_right_sidebar.html.erb
index e90e858..023730d 100644
--- a/app/views/common/_right_sidebar.html.erb
+++ b/app/views/common/_right_sidebar.html.erb
@@ -1,3 +1,7 @@
<div id="right_sidebar">
+ <%= raw @page.content_for(:side_body) %>
<%= render_sidebar_modules @sidebar_modules, :position => 2 %>
+ <%= render "/refinery/blog/shared/rss_feed" %>
+ <%= render "/refinery/blog/shared/categories" %>
+ <%= render "/refinery/blog/shared/tags" %>
</div>
diff --git a/app/views/refinery/pages/home.html.erb b/app/views/refinery/pages/home.html.erb
index 2e8837c..66cd6b7 100644
--- a/app/views/refinery/pages/home.html.erb
+++ b/app/views/refinery/pages/home.html.erb
@@ -1,4 +1,4 @@
-<% content_for :body_content_left do %>
+<% content_for :body do %>
<%= raw @page.content_for(Refinery::Pages.default_parts.first.to_sym) if Refinery::Pages.default_parts.any? %>
<% if @posts.any? %>
@@ -11,10 +11,8 @@
<% end %>
<% end %>
-<% content_for :body_content_right_prepend do -%>
- <%= raw @page.content_for(Refinery::Pages.default_parts.second.to_sym) %>
-<% end if Refinery::Pages.default_parts.many? -%>
-<%= render :partial => '/refinery/blog/shared/body_content_right' %>
+<%= render "/refinery/content_page",
+ :hide_sections => [:side_body, :body_content_right]
+ %>
-<%= render :partial => "/refinery/content_page" %>
<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/frontend') %>