Fix pagination (#76)
This commit is contained in:
parent
6ff8e53300
commit
8b59adb79b
|
@ -5,9 +5,9 @@
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
<div class="mw8 center">
|
<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">
|
<section class="flex-ns flex-wrap justify-around mt5">
|
||||||
{{ range $section }}
|
{{ range $paginator.Pages }}
|
||||||
<div class="relative w-100 mb4 bg-white">
|
<div class="relative w-100 mb4 bg-white">
|
||||||
{{ partial "summary.html" . }}
|
{{ partial "summary.html" . }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue