---
pageable: true
---
Archive for
  <% case page_type
     when 'day' %>
    <%= Date.new(year, month, day).strftime('%b %e %Y') %>
  <% when 'month' %>
    <%= Date.new(year, month, 1).strftime('%b %Y') %>
  <% when 'year' %>
    <%= year %>
  <% end %>
<% if paginate && num_pages > 1 %>
  Page <%= page_number %> of <%= num_pages %>
  <% if prev_page %>
    <%= link_to 'Previous page', prev_page %>
  <% end %>
<% end %>
  <% page_articles.each_with_index do |article, i| %>
    - <%= link_to article.title, article %> <%= article.date.strftime('%b %e') %>
 
  <% end %>
<% if paginate %>
  <% if next_page %>
    <%= link_to 'Next page', next_page %>
  <% end %>
<% end %>