A Jekyll include
file of a Mobile-First pagination, configurable with page front-matter.
Depending on screen size it shows:
Install with bower: bower install https://github.com/timble/jekyll-pagination.git
You can configure the output using front-matter on blog index page (for example /blog/index.html
). The following options are available:
---
paginate:
root: /blog/
limit: false
page_amount: 7
title_label: Pagination
---
Because the front-matter is applied to the blog index page rather than the _config.yml
it is possible to have multiple blogs on your site. You might need an additonal category aware pager plugin to accomplish this.
$pages-clearfix
to false
if you're already using another clearfix @mixin
in your prject which this file can access.$pages-cosmetics
is true
(it's true
by default)