修复首页不显示分页的BUG

This commit is contained in:
Minho
2017-05-31 10:15:04 +08:00
parent 80c7f25223
commit 6686de168c
4 changed files with 25 additions and 3 deletions

View File

@@ -49,6 +49,12 @@
{{end}}
<div class="clearfix"></div>
</div>
<nav class="pagination-container">
{{if gt .TotalPages 1}}
{{.PageHtml}}
{{end}}
<div class="clearfix"></div>
</nav>
</div>
</div>
{{template "widgets/footer.tpl" .}}