final tweaks for the initial round
This commit is contained in:
@ -2,18 +2,25 @@
|
||||
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
|
||||
.row
|
||||
.col-sm-9#main{:role => "main"}
|
||||
%h2
|
||||
Articles tagged: #{tagname.titleize}
|
||||
- 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 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
|
||||
|
||||
.col-sm-3
|
||||
= partial 'shared/blog_list'
|
||||
|
Reference in New Issue
Block a user