16 lines
511 B
HTML
16 lines
511 B
HTML
{{ $langs := slice "en" "fr" }}
|
|
|
|
{{ $icon := .Get 0 }}
|
|
{{ $alt := .Get 1 }}
|
|
<div class="columns-container fill-width">
|
|
{{ range $langs }}
|
|
<div class="col{{ len $langs }} column text-center">
|
|
<p class="h3">{{ i18n . }}</p>
|
|
{{ partial "badge.html" (dict "Icon" $icon "Lang" . "Alt" $alt ) }}
|
|
<br>
|
|
<div class="center fit-content">
|
|
<div class="code"><img source="https://ad5001.eu/img/badges/{{ . }}/{{ $icon }}.svg" alt="{{ i18n $alt }}" class="badge"/></div>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|