Created
January 9, 2015 12:42
-
-
Save gpedro/4b8eb930876e4c988e28 to your computer and use it in GitHub Desktop.
jade > ejs
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
<% if (paginate.hasPreviousPages || paginate.hasNextPages(pageCount)) { %> | |
<ul class="pager"> | |
<% if (paginate.hasPreviousPages) {%> | |
<li class="previous"> | |
<a href="<%- paginate.href(true) %>" class="prev"><i class="fa fa-arrow-circle-left"></i> Previous</a> | |
</li> | |
<% } %> | |
<% if (paginate.hasNextPages(pageCount)) { %> | |
<li class="next"> | |
<a href="<%- paginate.href() %>" class="next">Next <i class="fa fa-arrow-circle-right"></i></a> | |
</li> | |
<% } %> | |
</ul> | |
<% } %> |
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
if paginate.hasPreviousPages || paginate.hasNextPages(pageCount) | |
.navigation.well-sm#pagination | |
ul.pager | |
if paginate.hasPreviousPages | |
li.previous | |
a(href=paginate.href(true)).prev | |
i.fa.fa-arrow-circle-left | |
| Previous | |
if paginate.hasNextPages(pageCount) | |
li.next | |
a(href=paginate.href()).next | |
| Next | |
i.fa.fa-arrow-circle-right |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment