Bruce 文章列表分页

This commit is contained in:
Liang Ding 2014-07-23 15:19:42 +08:00
parent 7c4d5336ce
commit 0101ddec79
1 changed files with 2 additions and 2 deletions

View File

@ -33,14 +33,14 @@
<div class="col-sm-4">
<#if 1 < paginationCurrentPageNum>
<#assign prePage = paginationCurrentPageNum - 1>
<a class="btn btn-success" href="${servePath}/${prePage}">Newer</a>
<a class="btn btn-success" href="${servePath}${path}/${prePage}">Newer</a>
</#if>
</div>
<div class="col-sm-4 text-right">
<#if paginationCurrentPageNum < paginationPageCount>
<#assign nextPage = paginationCurrentPageNum + 1>
<a class="btn btn-success" href="${servePath}/${nextPage}">Older</a>
<a class="btn btn-success" href="${servePath}${path}/${nextPage}">Older</a>
</#if>
</div>