blog config ready

This commit is contained in:
Mark Moser
2014-09-16 21:13:50 -05:00
parent 11752584aa
commit ab8ec56737
16 changed files with 134 additions and 128 deletions

19
source/tag.html.haml Normal file
View File

@ -0,0 +1,19 @@
---
pageable: true
per_page: 10
---
%h1
Articles tagged '#{tagname}'
- 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
- if paginate
- if next_page
%p= link_to 'Next page', next_page