Update pagination code snippet

Update pagination snippet to use summarised pagination.
This commit is contained in:
Ryan Potter 2019-08-13 15:17:38 +12:00 committed by GitHub
parent 684f5311a0
commit fa325d2360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ switch between pages:
<% if $PaginatedPages.NotFirstPage %>
<a class="prev" href="$PaginatedPages.PrevLink">Prev</a>
<% end_if %>
<% loop $PaginatedPages.Pages %>
<% loop $PaginatedPages.PaginationSummary %>
<% if $CurrentBool %>
$PageNum
<% else %>