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
1 changed files with 1 additions and 1 deletions

View File

@ -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) }}