aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/blog_posts/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/blog_posts/show.html.erb')
-rw-r--r--app/views/blog_posts/show.html.erb23
1 files changed, 14 insertions, 9 deletions
diff --git a/app/views/blog_posts/show.html.erb b/app/views/blog_posts/show.html.erb
index 7a4c9c3..2a6fa12 100644
--- a/app/views/blog_posts/show.html.erb
+++ b/app/views/blog_posts/show.html.erb
@@ -4,21 +4,23 @@
<%= @blog_post.body %>
<% if (categories = @blog_post.categories).any? %>
- <%= t('.filed_in') %>
- <ul>
- <% categories.each do |category| %>
- <li>
- <%= link_to category.title, blog_category_url(category) %>
- </li>
- <% end %>
- </ul>
+ <div class='post_categories'>
+ <span class='filed_in'><%= t('.filed_in') %></span>
+ <ul>
+ <% categories.each_with_index do |category, index| %>
+ <li>
+ <%= link_to category.title, blog_category_url(category) -%><%= ',' if index < ((categories.length) - 1) %>
+ </li>
+ <% end %>
+ </ul>
+ </div>
<% end %>
<% end %>
<% content_for :body_content_right do %>
<h2><%= t('.created_at_title') %></h2>
<%= t('.created_at', :when => @blog_post.created_at.strftime('%d %B %Y')) %>
- <%= render :partial => "sidebar" %>
+ <%= render :partial => "side_bar" %>
<h2><%= t('.other') %></h2>
<ul id="blog_post">
@@ -31,3 +33,6 @@
<% end %>
<%= render :partial => "/shared/content_page" %>
+<% content_for :head do %>
+ <%= stylesheet_link_tag 'refinerycms-blog' %>
+<% end %> \ No newline at end of file