mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #352 from sunnysideup/patch-1
ENHANCEMENT: improved pagination for a long list of blog posts
This commit is contained in:
commit
c212c8fc87
@ -6,7 +6,7 @@
|
|||||||
<a class="prev" href="{$PrevLink}">←</a>
|
<a class="prev" href="{$PrevLink}">←</a>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<% loop $Pages %>
|
<% loop $PaginationSummary(4) %>
|
||||||
<% if $CurrentBool %>
|
<% if $CurrentBool %>
|
||||||
<span>$PageNum</span>
|
<span>$PageNum</span>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
Loading…
Reference in New Issue
Block a user