omegamma/layouts/shortcodes/badgeTable.html

19 lines
686 B
HTML

<div class="columns-container fill-width">
<div class="col2 column text-center">
<h3>{{ i18n "en" }}</h3>
{{ partial "badge.html" (dict "Icon" (.Get 0) "Lang" "en" "Alt" (.Get 1) ) }}
<br>
<div class="center fit-content">
<div class="code">&lt;img source="https://ad5001.eu/img/badges/en/{{ .Get 0 }}.svg" class="badge"/&gt;</div>
</div>
</div>
<div class="col2 column text-center">
<h3>{{ i18n "fr" }}</h3>
{{ partial "badge.html" (dict "Icon" (.Get 0) "Lang" "fr" "Alt" (.Get 1) ) }}
<br>
<div class="center fit-content">
<div class="code">&lt;img source="https://ad5001.eu/img/badges/fr/{{ .Get 0 }}.svg" class="badge"/&gt;</div>
</div>
</div>
</div>