From c27e660062840399ab65e8664e2e3d5981a9ef45 Mon Sep 17 00:00:00 2001 From: Vivek R Date: Thu, 19 Sep 2019 22:53:48 +0530 Subject: fix: build failed due to invalid variable reference --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/index.html b/layouts/index.html index adfe375..5b5d87a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -10,7 +10,7 @@ Recent posts
- {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} + {{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} {{ $paginator := .Paginate (where $pages "Params.hidden" "ne" true) }} {{ range $paginator.Pages }}
-- cgit v1.2.3