From aebe9137615b0ac2ec9cfc78298445227f66930c Mon Sep 17 00:00:00 2001 From: vimux Date: Mon, 26 Nov 2018 14:09:11 -0500 Subject: [PATCH] Improve exception handling for cardsPerRow param --- layouts/_default/list.html | 2 +- layouts/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f7f3825..ef8243f 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -8,7 +8,7 @@ {{- end }}
{{ range .Paginator.Pages }} -
+
{{ .Render "summary" }}
{{ end }} diff --git a/layouts/index.html b/layouts/index.html index 9b76715..5d01928 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,7 +4,7 @@ {{ $mainSections := .Site.Params.mainSections | default (slice "post") }} {{ $paginator := .Paginate ( where .Data.Pages "Section" "in" $mainSections ) }} {{ range $paginator.Pages }} -
+
{{ .Render "summary" }}
{{ end }}