use regular pages to not pick up all page types

This commit is contained in:
steveoh 2017-08-29 09:31:34 -06:00
parent 8af8c3e222
commit 6dd1d6ab05

View File

@ -1,6 +1,6 @@
{{ partial "header" . }} {{ partial "header" . }}
{{ $incidents := where .Site.Pages.ByDate.Reverse "Section" "incidents" }} {{ $incidents := where .Site.RegularPages.ByDate.Reverse "Section" "incidents" }}
{{ $active := where $incidents "Params.resolved" "!=" true }} {{ $active := where $incidents "Params.resolved" "!=" true }}
{{ partial "systems" (dict "content" . "incidents" $active) }} {{ partial "systems" (dict "content" . "incidents" $active) }}