{{ if gt .Paginator.TotalPages 1 }}
<nav id='pagination'>
  <div class='page-links'>

    {{ with .Paginator.Prev }}
    <a class='page-link prev' href='{{ .URL }}'>
      {{- partial "svg/icon" "prev" -}}
      <span class='screen-reader-text'>{{ i18n "previousPage" }}</span>
    </a>
    {{ end }}

    {{- $.Scratch.Set "hasPrevDots" false -}}
    {{- $.Scratch.Set "hasNextDots" false -}}

    {{ range .Paginator.Pagers }}
      {{ if ( eq . $.Paginator ) }}
      <span aria-current='page' class='page-lin