aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog/shared
diff options
context:
space:
mode:
authorJustin Ricaurte <justin@justinricaurte.com>2011-07-30 13:11:22 -0700
committerJustin Ricaurte <justin@justinricaurte.com>2011-07-30 13:11:22 -0700
commit999f9e7c0e15610f7f36a6044fd0005f9fa8f258 (patch)
tree6d791b7cdf3089b712bdacf8917399b8d400a3fc /app/views/refinery/blog/shared
parentbd3591c6d16c8910937695161daa4bc1f35d4aea (diff)
downloadrefinerycms-blog-999f9e7c0e15610f7f36a6044fd0005f9fa8f258.tar.gz
refinerycms-blog-999f9e7c0e15610f7f36a6044fd0005f9fa8f258.tar.bz2
refinerycms-blog-999f9e7c0e15610f7f36a6044fd0005f9fa8f258.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/shared')
-rw-r--r--app/views/refinery/blog/shared/_body_content_right.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/refinery/blog/shared/_body_content_right.html.erb b/app/views/refinery/blog/shared/_body_content_right.html.erb
new file mode 100644
index 0000000..bd73d1c
--- /dev/null
+++ b/app/views/refinery/blog/shared/_body_content_right.html.erb
@@ -0,0 +1,9 @@
+<% content_for :body_content_right do %>
+ <%= yield(:body_content_right_prepend) %>
+ <%= render :partial => "/refinery/blog/shared/rss_feed" %>
+ <%= render :partial => "/refinery/blog/shared/categories" %>
+ <%= render :partial => "/refinery/blog/shared/tags" %>
+ <%= render :partial => "/refinery/blog/shared/posts" %>
+ <%= blog_archive_widget %>
+ <%= yield(:body_content_right_append) %>
+<% end %>