{{/* Existing cState references */}}
{{ $incidents := where .Site.RegularPages "Params.section" "issue" }}
{{ $active := where $incidents "Params.resolved" "=" false }}

{{ $isNotice := where $active "Params.severity" "=" "notice" }}
{{ $isDisrupted := where $active "Params.severity" "=" "disrupted" }}
{{ $isDown := where $active "Params.severity" "=" "down" }}

{{ $uptimeHistogramEnabled := .Site.Params.enableUptimeHistogram }}

<!-- The main categories layout -->
<div class="categories">
	{{ $systems := .