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">
|
2021-08-06 20:27:38 +00:00
|
|
|
<p class="h3">{{ i18n . }}</p>
|
2021-08-03 14:57:02 +00:00
|
|
|
{{ 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-12 22:20:34 +00:00
|
|
|
<div class="code"><img source="https://ad5001.eu/img/badges/{{ . }}/{{ $icon }}.svg" alt="{{ i18n $alt }}" 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>
|