Fix pagination for Hugo 0.146

This commit is contained in:
bbaovanc committed 2025-04-20 04:34:15 -05:00
1 parent ad7432155f
commit 04c3c007a8
2 files changed
+156 -1

No files matched your search

+2 -1
View File
@@ -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 }}