c0e74e19bb
Added pagination to the default post view. Fixed a bug where the comments were being ordered incorrectly.
12 lines
433 B
Mako
12 lines
433 B
Mako
<div class="pagination">
|
|
% if c.prev_page:
|
|
<a href="${c.first_page}" title="First"><< First</a>
|
|
<a href="${c.prev_page}" title="Previous">< Previous</a> |
|
|
% endif
|
|
${c.list_start} to ${c.list_end} of ${c.list_total}
|
|
% if c.next_page:
|
|
| <a href="${c.next_page}" title="Next">Next ></a>
|
|
<a href="${c.last_page}" title="Last">Last >></a>
|
|
% endif
|
|
</div>
|
|
|