aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog/posts/archive.html.erb
blob: 9f5c87f1b3f7df54e213caac17ada95facf97294 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<% content_for :title, "#{t('.blog_archive_for', :date => @date_title)}" %>

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

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

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