mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
MINOR: tidied up blog pagination template
This commit is contained in:
parent
bda7fd1cd7
commit
cb0ca458e3
@ -1,9 +1,6 @@
|
|||||||
<% if BlogEntries.MoreThanOnePage %>
|
<% if BlogEntries.MoreThanOnePage %>
|
||||||
<div id="PageNumbers">
|
<div id="PageNumbers">
|
||||||
<% if BlogEntries.NotLastPage %>
|
<p>
|
||||||
<a class="next" href="$BlogEntries.NextLink" title="View the next page">Next</a>
|
|
||||||
<% end_if %>
|
|
||||||
|
|
||||||
<% if BlogEntries.NotFirstPage %>
|
<% if BlogEntries.NotFirstPage %>
|
||||||
<a class="prev" href="$BlogEntries.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 %>
|
||||||
@ -17,5 +14,10 @@
|
|||||||
<% end_if %>
|
<% end_if %>
|
||||||
<% end_control %>
|
<% end_control %>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
<% if BlogEntries.NotLastPage %>
|
||||||
|
<a class="next" href="$BlogEntries.NextLink" title="View the next page">Next</a>
|
||||||
|
<% end_if %>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
Loading…
Reference in New Issue
Block a user