% content_for :body_content_title, @blog_post.title %>
<% content_for :body_content_left do %>
<%= @blog_post.body %>
<% if (categories = @blog_post.categories).any? %>
<%= t('.filed_in') %>
<% categories.each_with_index do |category, index| %>
-
<%= link_to category.title, blog_category_url(category) -%><%= ',' if index < ((categories.length) - 1) %>
<% end %>
<% end %>
<% end %>
<% content_for :body_content_right do %>
<%= t('.created_at_title') %>
<%= t('.created_at', :when => @blog_post.created_at.strftime('%d %B %Y')) %>
<%= render :partial => "side_bar" %>
<%= t('.other') %>
<% @blog_posts.each do |blog_post| %>
-
<%= link_to blog_post.title, blog_post_url(blog_post) %>
<% end %>
<% end %>
<%= render :partial => "/shared/content_page" %>
<% content_for :head do %>
<%= stylesheet_link_tag 'refinerycms-blog' %>
<% end %>