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

                                                                                               
                          
                                                                                  
                      
                             
                                                                                   



                                                                                         

         
                                                        
 
                                      
                                                                             
<% content_for :title, "#{t('.blog_archive_for', :date => @archive_date.strftime('%B %Y'))}" %>

<% content_for :body do %>
  <h1><%= t('.blog_archive_for', :date => @archive_date.strftime('%B %Y')) %></h1>
  <% if @posts.any? %>
    <section id="blog_posts">
      <%= render :partial => "/refinery/blog/shared/post", :collection => @posts %>
    </section>
  <% else %>
    <p><%= t('.no_blog_articles_posted', :date => @archive_date.strftime('%B %Y')) %></p>
  <% end %>
<% end %>

<%= render '/refinery/blog/shared/body_content_right' %>

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