]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Fix alt text
authorJeremy Thomas <bbxdesign@gmail.com>
Thu, 18 Jul 2019 09:20:17 +0000 (11:20 +0200)
committerJeremy Thomas <bbxdesign@gmail.com>
Thu, 18 Jul 2019 09:20:17 +0000 (11:20 +0200)
docs/_includes/elements/sponsor-item.html

index 9e8c230c83dccd7f0a8157ea81bf022122e2211a..fe047075056e680e30033e3ccdc7c5319ab2f25c 100644 (file)
@@ -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 %}
 
 <div class="{{ include.classname }}">
   <a
@@ -9,7 +12,7 @@
     {% unless sponsor.follow %}
     rel="nofollow"
     {% endunless %}
-    {% if sponsor.blend %}style="mix-blend-mode: multiply;"{% endif %}
+    title="{{ sponsor_alt }}"
     >
     {%
       include elements/responsive-image.html