Created
April 19, 2011 05:29
-
-
Save xjamundx/926860 to your computer and use it in GitHub Desktop.
a partial view used with the express-pagination.js example
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 class="pagination"> | |
<% if (locals.prev) { %> | |
<a href="/pages/<%= (page + 1) %>">Previous</a> | |
<% } %> | |
<% if (locals.next) { %> | |
<a href="/pages/<%= (page - 1) %>">Next</a> | |
<% } %> | |
</nav> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment