7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-30 01:28:49 +00:00
web-ansol.org/themes/academic/layouts/partials/pagination.html
2023-09-28 13:34:45 +01:00

13 lines
457 B
HTML

{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
<nav class='body-width'>
<ul class="pagination justify-content-center">
{{ if .Paginator.HasPrev }}
<li class="page-item"><a class="page-link" href="{{ .Paginator.Prev.URL }}">Página anterior</a></li>
{{ end }}
{{ if .Paginator.HasNext }}
<li class="page-item"><a class="page-link" href="{{ .Paginator.Next.URL }}">Página seguinte</a></li>
{{ end }}
</ul>
</nav>
{{ end }}