aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog/categories/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/refinery/blog/categories/show.html.erb')
-rw-r--r--app/views/refinery/blog/categories/show.html.erb17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/refinery/blog/categories/show.html.erb b/app/views/refinery/blog/categories/show.html.erb
new file mode 100644
index 0000000..6228c7a
--- /dev/null
+++ b/app/views/refinery/blog/categories/show.html.erb
@@ -0,0 +1,17 @@
+<% content_for :body_content_title, @category.title %>
+
+<% content_for :body do %>
+ <% if @posts.any? %>
+ <section id="blog_posts">
+ <%= render :partial => "/refinery/blog/shared/post", :collection => @posts %>
+ <%= will_paginate @posts %>
+ </section>
+ <% else %>
+ <p>
+ <%= t('.no_posts') %>
+ </p>
+ <% end %>
+<% end %>
+
+<%= render "/refinery/content_page", :hide_sections => [:side_body, :body_content_right] %>
+<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/frontend') %>