aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog/posts
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/refinery/blog/posts')
-rw-r--r--app/views/refinery/blog/posts/index.html.erb6
-rw-r--r--app/views/refinery/blog/posts/index.rss.builder4
2 files changed, 5 insertions, 5 deletions
diff --git a/app/views/refinery/blog/posts/index.html.erb b/app/views/refinery/blog/posts/index.html.erb
index 36c007b..2e8837c 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.content_for(::Refinery::Pages.config.default_parts.first.to_sym) if ::Refinery::Pages.config.default_parts.any? %>
+ <%= raw @page.content_for(Refinery::Pages.default_parts.first.to_sym) if Refinery::Pages.default_parts.any? %>
<% if @posts.any? %>
<section id="blog_posts">
@@ -12,8 +12,8 @@
<% end %>
<% content_for :body_content_right_prepend do -%>
- <%= raw @page.content_for(::Refinery::Pages.config.default_parts.second.to_sym) %>
-<% end if ::Refinery::Pages.config.default_parts.many? -%>
+ <%= 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 :partial => "/refinery/content_page" %>
diff --git a/app/views/refinery/blog/posts/index.rss.builder b/app/views/refinery/blog/posts/index.rss.builder
index 867c6d6..8ffacd4 100644
--- a/app/views/refinery/blog/posts/index.rss.builder
+++ b/app/views/refinery/blog/posts/index.rss.builder
@@ -1,8 +1,8 @@
xml.instruct! :xml, :version => "1.0"
xml.rss :version => "2.0" do
xml.channel do
- xml.title Refinery::Core.config.site_name
- xml.description Refinery::Core.config.site_name + " Blog Posts"
+ xml.title Refinery::Core.site_name
+ xml.description Refinery::Core.site_name + " Blog Posts"
xml.link refinery.blog_root_url
@posts.each do |post|