website/themes/datacoop2020/layouts/partials/status.html

24 lines
585 B
HTML

<h2>{{ i18n "status_headline" }}</h2>
<section class="status-definitions">
{{- $translated_status := index $.Site.Data.badges .Lang }}
{{ range sort $translated_status.status.status "order" "asc" }}
<div class="badge-icon badge-status badge-status-{{ .css_class }}"></div>
<div class="badge-name">{{ title .name }}</div>
<div class="badge-description">
{{- $markdown := .description | markdownify -}}
{{ if not ( findRE "<[h|p][^>]*>" $markdown ) }}
<p>{{ $markdown }}</p>
{{ else }}
{{ $markdown }}
{{ end }}
</div>
{{ end }}
</section>