mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-12-24 12:55:44 +00:00
13 lines
420 B
HTML
13 lines
420 B
HTML
|
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
|
||
|
<nav>
|
||
|
<ul class="pagination justify-content-center">
|
||
|
{{ if .Paginator.HasPrev }}
|
||
|
<li class="page-item"><a class="page-link" href="{{ .Paginator.Prev.URL }}">«</a></li>
|
||
|
{{ end }}
|
||
|
{{ if .Paginator.HasNext }}
|
||
|
<li class="page-item"><a class="page-link" href="{{ .Paginator.Next.URL }}">»</a></li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
</nav>
|
||
|
{{ end }}
|