diff --git a/site/layouts/partials/header.html b/site/layouts/partials/header.html index 05c5a18..a9dccf9 100644 --- a/site/layouts/partials/header.html +++ b/site/layouts/partials/header.html @@ -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" }}