From: Jeremy Thomas Date: Thu, 18 Jul 2019 09:20:17 +0000 (+0200) Subject: Fix alt text X-Git-Tag: 0.8.0~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81693da8e35243a5a6b0ca79978459ee07832a2d;p=thirdparty%2Fbulma.git Fix alt text --- diff --git a/docs/_includes/elements/sponsor-item.html b/docs/_includes/elements/sponsor-item.html index 9e8c230c8..fe0470750 100644 --- a/docs/_includes/elements/sponsor-item.html +++ b/docs/_includes/elements/sponsor-item.html @@ -1,6 +1,9 @@ {% assign sponsor = site.data.sponsors.by_id[include.sponsor_id] %} {% assign sponsor_path = "amis/" | append: include.sponsor_id %} {% assign sponsor_alt = sponsor.name | append: " logo" %} +{% if sponsor.title != "" %} + {% assign sponsor_alt = sponsor.title %} +{% endif %}
{% include elements/responsive-image.html