diff options
author | Justin Ricaurte <justin@justinricaurte.com> | 2011-07-30 13:11:12 -0700 |
---|---|---|
committer | Justin Ricaurte <justin@justinricaurte.com> | 2011-07-30 13:11:12 -0700 |
commit | bd3591c6d16c8910937695161daa4bc1f35d4aea (patch) | |
tree | 3c9614ddf57c46b4cb1f02201596b95630edf2ee /app/views/refinery/blog/posts/index.html.erb | |
parent | 302c1ea05a0435a681cdfad5bde4edaa35efbd6e (diff) | |
download | refinerycms-blog-bd3591c6d16c8910937695161daa4bc1f35d4aea.tar.gz refinerycms-blog-bd3591c6d16c8910937695161daa4bc1f35d4aea.tar.bz2 refinerycms-blog-bd3591c6d16c8910937695161daa4bc1f35d4aea.zip |
Made it so that comments and the body_content_right have been further refactored out, so that they can be easily overridden. body_content_right can also now have things prepended and appended to it.
Diffstat (limited to 'app/views/refinery/blog/posts/index.html.erb')
-rw-r--r-- | app/views/refinery/blog/posts/index.html.erb | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/app/views/refinery/blog/posts/index.html.erb b/app/views/refinery/blog/posts/index.html.erb index dbb9979..c6ca75a 100644 --- a/app/views/refinery/blog/posts/index.html.erb +++ b/app/views/refinery/blog/posts/index.html.erb @@ -11,14 +11,10 @@ <% end %> <% end %> -<% content_for :body_content_right do %> - <%=raw @page[::Refinery::Page.default_parts.second.to_sym] if ::Refinery::Page.default_parts.many? %> - - <%= render :partial => "/refinery/blog/shared/categories" %> - <%= render :partial => "/refinery/blog/shared/tags" %> - <%= render :partial => "/refinery/blog/shared/rss_feed" %> - <%= blog_archive_widget %> -<% end %> +<% content_for :body_content_right_prepend do -%> + <%= raw @page[::Refinery::Page.default_parts.second.to_sym] if ::Refinery::Page.default_parts.many? %> +<% end -%> +<%= render :partial => '/refinery/blog/shared/body_content_right' %> <%= render :partial => "/refinery/content_page" %> <% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %> |