Fix pagination for Hugo 0.146

This commit is contained in:
2025-04-20 04:33:37 -05:00
parent fa89bc6746
commit 7c79f83138
2 changed files with 156 additions and 3 deletions

View File

@ -1,7 +1,6 @@
{{ if gt .Paginator.TotalPages 1 }}
<nav class="pagination">
{{/* _internal/pagination.html */}}
{{ fmt.Warnf "TODO: fix pagination.html to support 0.146" }}
{{/* partial "pagination.html" . */}}
{{/* https://github.com/gohugoio/hugo/blob/a88b488181279befd50e1d127f9f67604f2f9854/tpl/tplimpl/embedded/templates/_partials/pagination.html */}}
{{ partial "_internal/pagination.html" . }}
</nav>
{{ end }}