From acfeaa62b839b535304f372dc1cad9ae0315f972 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 13 Aug 2021 00:20:34 +0200 Subject: [PATCH] Adding alt to image badges. --- layouts/shortcodes/badgeTable.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/badgeTable.html b/layouts/shortcodes/badgeTable.html index 4ff6574..ca21c8e 100644 --- a/layouts/shortcodes/badgeTable.html +++ b/layouts/shortcodes/badgeTable.html @@ -9,7 +9,7 @@ {{ partial "badge.html" (dict "Icon" $icon "Lang" . "Alt" $alt ) }}
-
<img source="https://ad5001.eu/img/badges/{{ . }}/{{ $icon }}.svg" class="badge"/>
+
<img source="https://ad5001.eu/img/badges/{{ . }}/{{ $icon }}.svg" alt="{{ i18n $alt }}" class="badge"/>
{{ end }}