no need for this

This commit is contained in:
Mark Moser
2014-09-20 14:00:55 -05:00
parent f7d0238865
commit 6ea5e4aace

View File

@ -1,25 +0,0 @@
---
pageable: true
---
%h1
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
- if paginate && num_pages > 1
%p
Page #{page_number} of #{num_pages}
- if prev_page
%p= link_to 'Previous page', prev_page
%ul
- page_articles.each_with_index do |article, i|
%li
= link_to article.title, article
%span= article.date.strftime('%b %e')
- if paginate
- if next_page
%p= link_to 'Next page', next_page