From 8c8e97cbfcf936ee34c036a91ee5fce3066b6f3d Mon Sep 17 00:00:00 2001 From: steveoh Date: Fri, 8 Feb 2019 12:18:09 -0700 Subject: [PATCH] fix: update Pages to AllPages fixes #47 --- site/layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }}