mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
fixed pagination bug
This commit is contained in:
parent
36a6d0342b
commit
3505c315c5
@ -1,11 +1,11 @@
|
|||||||
<% if BlogEntries.MoreThanOnePage %>
|
<% if BlogEntries.MoreThanOnePage %>
|
||||||
<div id="PageNumbers">
|
<div id="PageNumbers">
|
||||||
<% if BlogEntries.NotLastPage %>
|
<% if BlogEntries.NotLastPage %>
|
||||||
<a class="next" href="$Children.NextLink" title="View the next page">Next</a>
|
<a class="next" href="$BlogEntries.NextLink" title="View the next page">Next</a>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<% if BlogEntries.NotFirstPage %>
|
<% if BlogEntries.NotFirstPage %>
|
||||||
<a class="prev" href="$Children.PrevLink" title="View the previous page">Prev</a>
|
<a class="prev" href="$BlogEntries.PrevLink" title="View the previous page">Prev</a>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<span>
|
<span>
|
||||||
|
Loading…
Reference in New Issue
Block a user