10 lines
326 B
HTML
10 lines
326 B
HTML
<nav class="pagination" role="navigation">
|
|
{{if .HasPrev}}
|
|
<a class="newer-posts" href="{{ .Prev.URL }}">← Newer Posts</a>
|
|
{{end}}
|
|
<span class="page-number">Page {{ .PageNumber }} of {{.TotalPages}}</span>
|
|
{{if .HasNext}}
|
|
<a class="older-posts" href="{{ .Next.URL }}">Older Posts →</a>
|
|
{{end}}
|
|
</nav>
|