19 lines
496 B
HTML
19 lines
496 B
HTML
<nav class="paginator">
|
|
<ul>
|
|
<li>
|
|
{{if .HasPrev}}
|
|
<a alt="Newer articles" href="{{ .Prev.URL }}">← Newer</a>
|
|
{{ else }}
|
|
|
|
{{end}}
|
|
</li>
|
|
<li>Page {{ .PageNumber }} of {{ .TotalPages }}</li>
|
|
<li>
|
|
{{if .HasNext}}
|
|
<a alt="Older articles" href="{{ .Next.URL }}">Older →</a>
|
|
{{ else }}
|
|
|
|
{{end}}
|
|
</li>
|
|
</ul>
|
|
</nav> |