{{ $logo := getenv "STATUSKIT_COMPANY_LOGO" | default .Site.Params.defaultLogo }} {{ $title := getenv "STATUSKIT_PAGE_TITLE" | default .Site.Title }} {{ $resources := getenv "STATUSKIT_RESOURCES_LINK" | default .Site.Params.resourcesLink }} {{ $contact := getenv "STATUSKIT_SUPPORT_CONTACT_LINK" | default .Site.Params.contactLink }} {{ $favicons := .Site.Params.faviconsPath }} {{ $incidents := where .Site.Pages.ByDate.Reverse "Section" "incidents" }} {{ $active := where $incidents "Params.resolved" "!=" true }} {{ $major := where $active "Params.severity" "major-outage" }}