Files
markamoser.com/source/index.haml
2014-09-16 21:13:50 -05:00

21 lines
398 B
Plaintext

---
pageable: true
per_page: 10
poster: /assets/img/bg/tree_bark.png
---
- if paginate && num_pages > 1
%p
Page #{page_number} of #{num_pages}
- if prev_page
%p= link_to 'Previous page', prev_page
- page_articles.each_with_index do |article, i|
%h2
= link_to article.title, article
= article.summary(250)
- if paginate
- if next_page
%p= link_to 'Next page', next_page