<div class="pagination">
    {{ if .Paginator.HasPrev }}
    <a class="pagination__next" href="{{ .Paginator.Prev.URL }}"
        >Previous Page</a
    >
    {{ end }}
    <span class="pagination__text">
        {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}
    </span>
    {{ if .Paginator.HasNext }}
    <a class="pagination__prev" href="{{ .Paginator.Next.URL }}">Next Page</a>
    {{ end }}
</div>
