mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-10-29 01:03:29 -05:00
Only include pagination div if there's pagination
This commit is contained in:
@@ -40,9 +40,11 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if gt .Paginator.TotalPages 1 }}
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
{{ template "_internal/pagination.html" . }}
|
{{ template "_internal/pagination.html" . }}
|
||||||
</div>
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user