mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-12-01 20:34:15 +01:00
22 lines
553 B
HTML
22 lines
553 B
HTML
|
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
|
||
|
<nav aria-label="...">
|
||
|
<ul class="pager">
|
||
|
|
||
|
{{ if .Paginator.HasPrev }}
|
||
|
<li class="previous">
|
||
|
<a rel="previous" href="{{.Paginator.Prev.URL | absURL}}"><span aria-hidden="true">←</span> Previous</a>
|
||
|
</li>
|
||
|
{{ end }}
|
||
|
|
||
|
|
||
|
{{ if .Paginator.HasNext }}
|
||
|
<li class="next">
|
||
|
<a rel="next" href="{{.Paginator.Next.URL | absURL}}"><span aria-hidden="true">→</span> Next</a>
|
||
|
</li>
|
||
|
{{ end }}
|
||
|
|
||
|
|
||
|
</ul>
|
||
|
</nav>
|
||
|
{{ end }}
|