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


                                                      




                                                                               
            


                           







                                                     
                                                                       
<% content_for :body_content_title, @category.title %>

<% content_for :body_content_left do %>
  <% if @blog_posts.any? %>
    <section id="blog_posts">
      <%= render :partial => "/blog/shared/post", :collection => @blog_posts %>
      <%= will_paginate @blog_posts %>
    </section>
  <% else %>
    <p>
      <%= t('.no_posts') %>
    </p>
  <% end %>
<% end %>

<% content_for :body_content_right do %>
  <%= render :partial => "/blog/shared/categories" %>
<% end %>

<%= render :partial => "/shared/content_page" %>
<% content_for :stylesheets, stylesheet_link_tag('refinerycms-blog') %>