From c822104486a06f050ed3d2b73e4e2910e170af13 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 19 Aug 2018 12:07:19 +0100 Subject: [PATCH] Remove paginator from posts list --- layouts/posts/list.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 3016555..1c33e7a 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -1,10 +1,9 @@ {{ define "main" }}
- {{ $paginator := .Paginate (.Data.Pages.GroupByDate "2006-01") }}

{{ .Title }}

- {{ range $paginator.PageGroups }} - {{ $month := (print .Key "-01") }} + {{ range .Data.Pages.GroupByDate "2006-01" }} + {{ $month := print .Key "-01" }} {{ if (index .Pages 0).Date.IsZero }}
{{ else }}