mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-11 01:31:37 -05:00
I originally put it there to mimic the old pattern before Hugo 0.148, but it probably just makes things confusing. Fixes #90
7 lines
287 B
HTML
7 lines
287 B
HTML
{{ if gt .Paginator.TotalPages 1 }}
|
|
<nav class="pagination">
|
|
{{/* https://github.com/gohugoio/hugo/blob/a88b488181279befd50e1d127f9f67604f2f9854/tpl/tplimpl/embedded/templates/_partials/pagination.html */}}
|
|
{{ partial "pagination-hugo.html" . }}
|
|
</nav>
|
|
{{ end }}
|