From d48768b36199818c629db861a29ac13efaa2ecc8 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Fri, 6 Sep 2019 17:26:30 -0700 Subject: [PATCH] Fucking hugo --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 7ffdae6..23843be 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,6 +1,6 @@ {{ define "main" }}
-{{ $paginator := .Paginate (where .Pages.ByPublishDate.Reverse ".Params.date" "!=" nil) 6 }} +{{ $paginator := .Paginate (where .Site.Pages.ByPublishDate.Reverse ".Params.date" "!=" nil) 6 }} {{ if eq $paginator.PageNumber 1 }} {{ .Content }} {{ end }}