2021-08-03 14:57:02 +00:00
|
|
|
{{ $langs := slice "en" "fr" }}
|
|
|
|
|
|
|
|
{{ $icon := .Get 0 }}
|
|
|
|
{{ $alt := .Get 1 }}
|
2021-08-03 12:59:16 +00:00
|
|
|
<div class="columns-container fill-width">
|
2021-08-03 14:57:02 +00:00
|
|
|
{{ range $langs }}
|
|
|
|
<div class="col{{ len $langs }} column text-center">
|
|
|
|
<h3>{{ i18n . }}</h3>
|
|
|
|
{{ partial "badge.html" (dict "Icon" $icon "Lang" . "Alt" $alt ) }}
|
2021-08-03 12:59:16 +00:00
|
|
|
<br>
|
|
|
|
<div class="center fit-content">
|
2021-08-03 14:57:02 +00:00
|
|
|
<div class="code"><img source="https://ad5001.eu/img/badges/{{ . }}/{{ $icon }}.svg" class="badge"/></div>
|
2021-08-03 12:59:16 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-08-03 14:57:02 +00:00
|
|
|
{{ end }}
|
2021-08-03 12:59:16 +00:00
|
|
|
</div>
|