Last active
November 17, 2015 19:51
-
-
Save abr4xas/52bb102b21baed187524 to your computer and use it in GitHub Desktop.
Bootstrap tumblr pagination
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
<nav> | |
<ul class="pagination"> | |
{block:PreviousPage} | |
<li> | |
<a href="{PreviousPage}" aria-label="Previous"> | |
<span aria-hidden="true">«</span> | |
</a> | |
</li> | |
{/block:PreviousPage} | |
{block:JumpPagination length="5"} | |
{block:CurrentPage} | |
<li class="active"> | |
<a href="{URL}"> | |
{PageNumber} | |
</a> | |
</li> | |
{/block:CurrentPage} | |
{block:JumpPage} | |
<li> | |
<a href="{URL}"> | |
{PageNumber} | |
</a> | |
</li> | |
{/block:JumpPage} | |
{/block:JumpPagination} | |
{block:NextPage} | |
<li> | |
<a href="{NextPage}" aria-label="Next"> | |
<span aria-hidden="true">»</span> | |
</a> | |
</li> | |
{/block:NextPage} | |
</ul> | |
</nav> | |
{/block:Pagination} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment