blob: b6296552ce6cb586a6d7bb2c1d8334a872d3c034 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{{ $incidents := where .Site.RegularPages "Params.section" "issue" }}
{{ $active := where $incidents "Params.resolved" "=" false }}
{{ if $active }}
<div class="announcement-box" style="border-bottom: 0">
{{ range $active }}
<div class="padding">
<p>
<a href="{{ .Permalink }}"><strong class="bold">{{ .Title }} →</strong></a>
</p>
<p><small>
{{ range .Params.Affected }}
<a href="/affected/{{ . | urlize }}/" class="tag no-underline">{{ . }}</a>
{{ end }}
</small></p>
{{ .Content | safeHTML | truncate 500 "…" }}
<p></p>
</div>
<hr class="clean announcement-box">
{{ end }}
</div>
{{ end }}
|