2016-11-22 00:52:41 +02:00
|
|
|
<div class="incident card">
|
|
|
|
<div class="incident-header">
|
|
|
|
<p class="incident-title">{{ .Title }}</p>
|
2016-11-22 03:42:14 +02:00
|
|
|
<p class="incident-date">{{ dateFormat "02 Jan 2006 15:04 MST" .Date }}</p>
|
2016-11-22 00:52:41 +02:00
|
|
|
</div>
|
|
|
|
<div class="incident-description">
|
|
|
|
{{- .Content -}}
|
|
|
|
</div>
|
|
|
|
{{- $alert := index .Site.Data.states.alerts .Params.state -}}
|
|
|
|
|
|
|
|
<p class="incident-status color-{{ $alert }}">
|
|
|
|
{{ index .Site.Data.states.descriptions .Params.state }}
|
|
|
|
</p>
|
|
|
|
</div>
|