aboutsummaryrefslogblamecommitdiffstats
path: root/app/views/refinery/blog/categories/show.html.erb
blob: 6228c7ad0a34e08482eab36ea7f996fbc4948a3d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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') %>