{{ $incidents := where .Site.RegularPages "Params.section" "issue" }} {{ $active := where $incidents "Params.resolved" "=" false }} {{ $activeIncidents := where $incidents "Params.informational" "=" false }} {{ $pinned := where $incidents "Params.pin" "=" true }} {{ if or ($activeIncidents) ($pinned) }}
{{ end }}