website/themes/datacoop2020/layouts/partials/badges.html
Benjamin Bach 0f778e4c0c
All checks were successful
continuous-integration/drone/pr Build is passing
Adds a very bad and minimal representation of icons
2023-01-21 23:42:43 +01:00

23 lines
438 B
HTML

<h2>{{ i18n "badges_headline" }}</h2>
{{ range $badge_key, $badge := $.Site.Data.badges.da.badges.badges }}
<h3>
{{ title .name }}
<img src="{{ "/static/img" | absURL }}/badges/{{ .icon }}" class="badge-icon">
</h3>
{{ markdownify .description }}
{{ end }}
<h2>{{ i18n "status_headline" }}</h2>
{{ range $.Site.Data.badges.da.status.status }}
<h3>{{ title .name }}</h3>
{{ markdownify .description }}
{{ end }}