mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Russell Cohen
09.03.2018 8b59adb79bab46e069b8841414e9ed4e6b2eff38
Fix pagination (#76)

1 files modified
4 ■■■■ changed files
layouts/_default/list.html 4 ●●●● patch | view | raw | blame | history
layouts/_default/list.html
@@ -5,9 +5,9 @@
    </div>
  </article>
  <div class="mw8 center">
    {{ $section := where .Data.Pages "Section" .Section }}
    {{ $paginator := .Paginate (where .Data.Pages "Section" .Section) }}
    <section class="flex-ns flex-wrap justify-around mt5">
      {{ range  $section }}
      {{ range  $paginator.Pages }}
        <div class="relative w-100  mb4 bg-white">
          {{ partial "summary.html" . }}
        </div>