         {{ end }}
        </div>
      </div>
    </div>
    <div class="posts-list">
      {{ if (ne $paginator.PageNumber 1) }}
        <div class="container-fluid">
          <div class="py-3 border-bottom">
            {{ partial "paginator" . }}
          </div>
        </div>
      {{ end }}

      {{ range $index, $_ := $paginator.Pages }}
        {{ .Render "li" }}
      {{ end }}

      <div class="container-fluid">
        <div class="mt-5 py-3 border-top">
          {{ partial "paginator" . }}
 