Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ url: "http://pixyll.com" | |
# Build settings | ||
markdown: kramdown | ||
permalink: pretty | ||
paginate: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<div class="pagination clearfix mb1 mt4"> | ||
<div class="left p1"> | ||
{% if paginator.next_page %} | ||
<a class="pagination-item older button button-big button-gray" href="{{ site.baseurl }}page{{paginator.next_page}}">Older</a> | ||
{% else %} | ||
<span class="pagination-item older button button-big button-gray button-disabled">Older</span> | ||
{% endif %} | ||
</div> | ||
<div class="right p1"> | ||
{% if paginator.previous_page %} | ||
{% if paginator.page == 2 %} | ||
<a class="pagination-item newer button button-big button-gray" href="{{ site.baseurl }}/">Newer</a> | ||
{% else %} | ||
<a class="pagination-item newer button button-big button-gray" href="{{ site.baseurl }}page{{paginator.previous_page}}">Newer</a> | ||
{% endif %} | ||
{% else %} | ||
<span class="pagination-item newer button button-big button-gray button-disabled">Newer</span> | ||
{% endif %} | ||
</div> | ||
<div class=""></div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: post | ||
title: Pixyll has Pagination | ||
date: 2014-06-08 11:21:29 | ||
summary: This is an empty post to illustrate the pagination component with Pixyll. | ||
categories: jekyll pixyll | ||
--- | ||
|
||
This is an empty post to illustrate the pagination component with Pixyll. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: post | ||
title: So, What is Jekyll? | ||
date: 2014-06-09 12:32:18 | ||
summary: Transform your plain text into static websites and blogs. Simple, static, and blog-aware. | ||
categories: jekyll pixyll | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters