{{ $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) }}
{{ range $activeIncidents }}

{{ .Title }} →

{{ range .Params.Affected }} {{ . }} {{ end }}

{{ .Content | safeHTML | truncate 500 "…" }}


{{ end }} {{ range $pinned }} {{ if .Params.informational }}

{{ .Title }} →

{{ range .Params.Affected }} {{ . }} {{ end }}

{{ .Content | safeHTML | truncate 500 "…" }}


{{ end }} {{ end }}
{{ end }}