{{ $allPosts := where .Site.RegularPages "Params.section" "issue" }} {{ $allActive := where $allPosts "Params.resolved" "=" false }} {{ $active := where $allActive "Params.pin" "!=" false }} {{/* this $active checks if pin is explicitely set to false */}} {{ $informationals := where $allPosts "Params.informational" "=" true }} {{ $pinned := where $informationals "Params.pin" "=" true }} {{ if or ($active) ($pinned) }}
{{ range $active }}

{{ .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 }}