1
0
mirror of https://github.com/BBaoVanC/bobatheme.git synced 2025-07-15 07:47:29 -05:00

Fix pagination for Hugo 0.146

This commit is contained in:
2025-04-20 04:34:15 -05:00
parent ad7432155f
commit 04c3c007a8
2 changed files with 156 additions and 1 deletions
layouts/partials

@ -1,5 +1,6 @@
{{ if gt .Paginator.TotalPages 1 }}
<nav class="pagination">
{{ template "_internal/pagination.html" . }}
{{/* https://github.com/gohugoio/hugo/blob/a88b488181279befd50e1d127f9f67604f2f9854/tpl/tplimpl/embedded/templates/_partials/pagination.html */}}
{{ partial "_internal/pagination.html" . }}
</nav>
{{ end }}