15 lines
497 B
HTML
15 lines
497 B
HTML
<nav id="page-nav">
|
|
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
|
|
{{ if .Paginator.HasPrev }}
|
|
<a class="extend prev" rel="prev" href="{{.Paginator.Prev.URL}}">
|
|
« {{with .Site.Data.l10n.pagination.previous}}{{.}}{{end}}
|
|
</a>
|
|
{{ end }}
|
|
{{ if .Paginator.HasNext }}
|
|
<a class="extend next" rel="next" href="{{.Paginator.Next.URL}}">
|
|
{{with .Site.Data.l10n.pagination.next}}{{.}}{{end}} »
|
|
</a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</nav>
|