Adding alt to image badges.
This commit is contained in:
parent
ebd1e63256
commit
acfeaa62b8
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
{{ 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" class="badge"/></div>
|
||||
<div class="code"><img source="https://ad5001.eu/img/badges/{{ . }}/{{ $icon }}.svg" alt="{{ i18n $alt }}" class="badge"/></div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue