<nav id="page-nav">
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
    {{ if .Paginator.HasPrev }}
        <a class="extend prev" rel="prev" href="{{.Paginator.Prev.URL}}">
            « Previous
        </a>
    {{ end }}
    {{ if .Paginator.HasNext }}
        <a class="extend next" rel="next" href="{{.Paginator.Next.URL}}">
            Next »
        </a>
    {{ end }}
{{ end }}
</nav>
