{{if .Pager.Enabled}}
<nav class="pager">
  {{range .Pager.Items}}
    {{if eq .Kind "gap"}}<span class="pager-gap">...</span>
    {{else if .Disabled}}<span class="disabled">{{.Label}}</span>
    {{else if .Active}}<span class="active">{{.Label}}</span>
    {{else}}<a href="{{.URL}}">{{.Label}}</a>
    {{end}}
  {{end}}
</nav>
{{end}}
