2015-03-04 23:20:47 +01:00
|
|
|
<%-- NOTE: Before including this, you will need to wrap the include in a with block --%>
|
|
|
|
|
|
|
|
<% if $MoreThanOnePage %>
|
2015-11-12 00:20:11 +01:00
|
|
|
<p class="pagination">
|
|
|
|
<% if $NotFirstPage %>
|
|
|
|
<a class="prev" href="{$PrevLink}">←</a>
|
|
|
|
<% end_if %>
|
|
|
|
|
2015-12-15 03:56:40 +01:00
|
|
|
<% loop $PaginationSummary(4) %>
|
2015-11-12 00:20:11 +01:00
|
|
|
<% if $CurrentBool %>
|
|
|
|
<span>$PageNum</span>
|
|
|
|
<% else %>
|
|
|
|
<% if $Link %>
|
|
|
|
<a href="$Link">$PageNum</a>
|
|
|
|
<% else %>
|
|
|
|
<span>...</span>
|
|
|
|
<% end_if %>
|
|
|
|
<% end_if %>
|
|
|
|
<% end_loop %>
|
|
|
|
|
|
|
|
<% if $NotLastPage %>
|
|
|
|
<a class="next" href="{$NextLink}">→</a>
|
|
|
|
<% end_if %>
|
|
|
|
</p>
|
2015-03-04 23:20:47 +01:00
|
|
|
<% end_if %>
|