spearhead-statuskit/site/layouts/partials/incident.html

22 lines
697 B
HTML
Raw Normal View History

{{- $severity := .Params.severity | default "under-maintenance" -}}
{{- $alert := index .Site.Data.severity.alerts $severity -}}
<div class="incident card">
2017-08-31 04:02:11 +03:00
<div class="flex-out">
<h1 class="incident-title">{{ .Title }}</h1>
<p class="small mute">{{- dateFormat "02 Jan 2006 15:04 MST" .Date -}}</p>
</div>
<div class="incident-description">
{{- .Content -}}
</div>
2017-08-31 04:02:11 +03:00
<div class="incident-status">
<p class="color-{{ $alert }}">
{{- index .Site.Data.severity.descriptions $severity -}}
</p>
<p class="small">Affected Systems:
<span class="color-{{ $alert }}">
{{- delimit .Params.affectedsystems ", " -}}
</span>
</p>
</div>
</div>