mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Use pagination summary function
This commit is contained in:
parent
3f50a8e36c
commit
72b1473afa
@ -6,12 +6,16 @@
|
|||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<span>
|
<span>
|
||||||
<% control BlogEntries.Pages %>
|
<% control BlogEntries.PaginationSummary(4) %>
|
||||||
<% if CurrentBool %>
|
<% if CurrentBool %>
|
||||||
$PageNum
|
$PageNum
|
||||||
|
<% else %>
|
||||||
|
<% if PageNum = --- %>
|
||||||
|
...
|
||||||
<% else %>
|
<% else %>
|
||||||
<a href="$Link" title="View page number $PageNum">$PageNum</a>
|
<a href="$Link" title="View page number $PageNum">$PageNum</a>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
<% end_if %>
|
||||||
<% end_control %>
|
<% end_control %>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user