aboutsummaryrefslogblamecommitdiffstats
path: root/app/views/refinery/blog/categories/show.html.erb
blob: 3a4a617d395755054dfad579a04063db49a36517 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      
 
                          
                      
                             

                                                                                   
              
            


                           


           
                               
                                                  

         
                                      
                                                                             
<% 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 %>

<% content_for :side_body do %>
  <%= render "/refinery/blog/shared/categories" %>
<% end %>

<%= render "/refinery/content_page" %>
<% content_for :stylesheets, stylesheet_link_tag('refinery/blog/frontend') %>