7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-14 00:07:26 +00:00
web-ansol.org/themes/academic/layouts/partials/pagination.html

13 lines
457 B
HTML
Raw Normal View History

2020-06-11 11:46:16 +00:00
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
2023-09-28 12:34:45 +00:00
<nav class='body-width'>
2020-06-11 11:46:16 +00:00
<ul class="pagination justify-content-center">
{{ if .Paginator.HasPrev }}
2021-10-28 14:52:49 +00:00
<li class="page-item"><a class="page-link" href="{{ .Paginator.Prev.URL }}">Página anterior</a></li>
2020-06-11 11:46:16 +00:00
{{ end }}
{{ if .Paginator.HasNext }}
2021-10-28 14:52:49 +00:00
<li class="page-item"><a class="page-link" href="{{ .Paginator.Next.URL }}">Página seguinte</a></li>
2020-06-11 11:46:16 +00:00
{{ end }}
</ul>
</nav>
{{ end }}