From 6dd1d6ab0576caa315edce0615aceff51a576d72 Mon Sep 17 00:00:00 2001 From: steveoh Date: Tue, 29 Aug 2017 09:31:34 -0600 Subject: [PATCH] use regular pages to not pick up all page types --- site/layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/layouts/index.html b/site/layouts/index.html index 0b7c045..c8060c6 100644 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -1,6 +1,6 @@ {{ partial "header" . }} -{{ $incidents := where .Site.Pages.ByDate.Reverse "Section" "incidents" }} +{{ $incidents := where .Site.RegularPages.ByDate.Reverse "Section" "incidents" }} {{ $active := where $incidents "Params.resolved" "!=" true }} {{ partial "systems" (dict "content" . "incidents" $active) }}