~gg/blog-theme

ref: 4b83cd0f339293fe804bea3646555a230bc13f62 blog-theme/layouts/partials/pagination.html -rw-r--r-- 254 bytes
4b83cd0f — vimux Update demosite 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
<div>
{{ if .Paginator.HasPrev }}
	<a href="{{ .Paginator.Prev.URL }}">Previous Page</a>
{{ end }}
{{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}
{{ if .Paginator.HasNext }}
	<a href="{{ .Paginator.Next.URL }}">Next Page</a>
{{ end }}
</div>