Only include pagination div if there's pagination

This commit is contained in:
BBaoVanC 2021-10-09 17:40:49 -05:00
parent fa3f9b7a51
commit 4dc429ce5d
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -40,9 +40,11 @@
</div>
{{ end }}
{{ if gt .Paginator.TotalPages 1 }}
<div class="pagination">
{{ template "_internal/pagination.html" . }}
</div>
{{ end }}
{{ end }}