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

View File

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