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

26 lines
494 B
HTML
Raw Normal View History

2023-01-21 18:44:02 +00:00
<h2>{{ i18n "badges_headline" }}</h2>
{{ range $badge_key, $badge := $.Site.Data.badges.da.badges.badges }}
<h3>
{{ title .name }}
2023-01-23 12:08:41 +00:00
<span class="badge-icon">
{{$svg := printf "static/static/img/badges/%s" .icon}}
{{ $svg | readFile | safeHTML }}
</span>
</h3>
2023-01-21 18:44:02 +00:00
{{ markdownify .description }}
2023-01-21 18:44:02 +00:00
{{ end }}
<h2>{{ i18n "status_headline" }}</h2>
{{ range $.Site.Data.badges.da.status.status }}
<h3>{{ title .name }}</h3>
2023-01-21 18:44:02 +00:00
{{ markdownify .description }}
2023-01-21 18:44:02 +00:00
{{ end }}