website_rasmus/themes/datacoop2020/layouts/partials/badges.html
2023-01-23 13:08:41 +01:00

26 lines
494 B
HTML

<h2>{{ i18n "badges_headline" }}</h2>
{{ range $badge_key, $badge := $.Site.Data.badges.da.badges.badges }}
<h3>
{{ title .name }}
<span class="badge-icon">
{{$svg := printf "static/static/img/badges/%s" .icon}}
{{ $svg | readFile | safeHTML }}
</span>
</h3>
{{ markdownify .description }}
{{ end }}
<h2>{{ i18n "status_headline" }}</h2>
{{ range $.Site.Data.badges.da.status.status }}
<h3>{{ title .name }}</h3>
{{ markdownify .description }}
{{ end }}