blob: 9b63b784fa3dbab84ffa726d5cb9c7544353e415 (
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
25
26
27
28
29
|
{{ $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" }}
<div class="article">
<span class="marker">
{{ .Params.severity }}
</span>
<small class="date">
{{ .Date.Format "January 02, 2006 at 3:04 PM" }}
</small>
{{ if .Params.Resolved }}
<span class="ok">✓</span>
{{ end }}
<h3>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h3>
<hr>
{{ .Content }}
</div>
|