Fix pagination (#76)

This commit is contained in:
Russell Cohen 2018-01-08 20:03:52 -08:00 committed by Bud Parr
parent 6ff8e53300
commit 8b59adb79b

View file

@ -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>