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


                                               
                           
                                                                             
            

                                                                                                      





                                                     
                                                   
                          


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

  <section id="blog_posts">
    <%= render :partial => "/blog/shared/post", :collection => @blog_posts %>
  </section>
  <%= "<p>There are no blog articles posted yet. Stay tuned.</p>".html_safe unless @blog_posts.any? %>
  <%# TODO: Add locale logic here - hubble is a n00b at that %>
<% end %>

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

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

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