diff --git a/layouts/partials/paige/pages.html b/layouts/partials/paige/pages.html index 01cfa0d0..3f648314 100644 --- a/layouts/partials/paige/pages.html +++ b/layouts/partials/paige/pages.html @@ -46,19 +46,30 @@ {{ partial "paige/page.html" . }} {{ end }} + {{ $pager := false }} {{ $unpinned := complement $pinned . }} - {{ $pagecollection := $unpinned.GroupByPublishDate "January 2006" }} - {{ $pager := $page.Paginate $pagecollection }} - {{ $pagegroups := $pager.PageGroups}} + {{ $weighted := where $unpinned "Weight" "gt" 0 }} - {{ range $pagegroups }} - {{ if gt (len $pagegroups) 1 }} -