final tweaks for the initial round

This commit is contained in:
Mark Moser
2014-09-20 13:55:31 -05:00
parent ab8ec56737
commit 742eadf502
16 changed files with 132 additions and 99 deletions

View File

@ -1,20 +1,24 @@
---
pageable: true
per_page: 10
poster: /assets/img/bg/tree_bark.png
---
.row
.col-sm-9#main{:role => "main"}
- if paginate && num_pages > 1
%p
Page #{page_number} of #{num_pages}
- if prev_page
%p= link_to 'Previous page', prev_page
- 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)
- page_articles.each do |article|
%h2= link_to article.title.titleize, article
= article.body
.spacer-50
- if paginate
- if next_page
%p= link_to 'Next page', next_page
- if paginate
- if next_page
%p= link_to 'Next page', next_page
.col-sm-3
= partial 'shared/blog_list'