From 00a58e7e222e95df18f3d6c99c837f02fe8221e8 Mon Sep 17 00:00:00 2001 From: sheychen Date: Sun, 3 Nov 2019 21:20:45 +0100 Subject: [PATCH] Fix: List regular pages not sections on home page --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 2576756..c01763a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,6 +1,6 @@ {{ define "main" -}}
-{{ $paginator := .Paginate (where .Data.Pages ".Params.unlisted" "!=" "true") }} +{{ $paginator := .Paginate (where .Site.RegularPages ".Params.unlisted" "!=" "true") }} {{ range $paginator.Pages -}}