Benjamin Bach
b5e39c3d19
All checks were successful
continuous-integration/drone/pr Build is passing
24 lines
585 B
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>
|