fix: update Pages to AllPages

fixes #47
This commit is contained in:
steveoh 2019-02-08 12:18:09 -07:00 committed by GitHub
parent bfe3c1485e
commit 8c8e97cbfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
{{ $contact := getenv "STATUSKIT_SUPPORT_CONTACT_LINK" | default .Site.Params.contactLink }} {{ $contact := getenv "STATUSKIT_SUPPORT_CONTACT_LINK" | default .Site.Params.contactLink }}
{{ $favicons := .Site.Params.faviconsPath }} {{ $favicons := .Site.Params.faviconsPath }}
{{ $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 }}
{{ $major := where $active "Params.severity" "major-outage" }} {{ $major := where $active "Params.severity" "major-outage" }}