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

15 lines
463 B
HTML
Raw Normal View History

<div class="incident card">
<div class="incident-header">
<p class="incident-title">{{ .Title }}</p>
<p class="incident-date">{{ dateFormat "02 Jan 2006 15:04 MST" .Date }}</p>
</div>
<div class="incident-description">
{{- .Content -}}
</div>
{{- $alert := index .Site.Data.severity.alerts .Params.severity -}}
<p class="incident-status color-{{ $alert }}">
{{ index .Site.Data.severity.descriptions .Params.severity }}
</p>
</div>