From 8b59adb79bab46e069b8841414e9ed4e6b2eff38 Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Mon, 8 Jan 2018 20:03:52 -0800 Subject: [PATCH] Fix pagination (#76) --- layouts/_default/list.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index cf7fdb5..45ec41b 100755 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,13 +1,13 @@ {{ define "main" }}
-
- {{ $section := where .Data.Pages "Section" .Section }} + {{ $paginator := .Paginate (where .Data.Pages "Section" .Section) }}
- {{ range $section }} + {{ range $paginator.Pages }}
{{ partial "summary.html" . }}