mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 04:24:50 +01:00
18 lines
463 B
Plaintext
18 lines
463 B
Plaintext
---
|
|
title: Sass Blog
|
|
pageable: true
|
|
per_page: 5
|
|
---
|
|
|
|
- if paginate && num_pages > 1
|
|
%p Page #{page_number} of #{num_pages}
|
|
%p= link_to 'Previous page', without_html(prev_page) if prev_page
|
|
|
|
- page_articles.each_with_index do |article, i|
|
|
%h2= link_to article.title, without_html(article)
|
|
= partial 'layouts/components/attribution', locals: {page: article}
|
|
= article.summary
|
|
|
|
- if paginate
|
|
%p= link_to 'Next page', without_html(next_page) if next_page
|