aboutsummaryrefslogblamecommitdiffstats
path: root/app/views/blog/posts/index.html.erb
blob: 8c3801a46844c9731e055bb99fbdcf047ddcab00 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                       
                                                                             
 


                                                                               
                                      



                                            


                                        
                                                                               

                                                     
                                               
                                                   
                          


                                                
                                                                       
<% content_for :body_content_left do %>
  <%=raw @page[Page.default_parts.first.to_sym] if Page.default_parts.any? %>

  <% 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_blog_articles_yet') %></p>
  <% end %>
<% end %>

<% content_for :body_content_right do %>
  <%=raw @page[Page.default_parts.second.to_sym] if Page.default_parts.many? %>

  <%= render :partial => "/blog/shared/categories" %>
  <%= render :partial => "/blog/shared/tags" %>
  <%= render :partial => "/blog/shared/rss_feed" %>
  <%= blog_archive_list %>
<% end %>

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