Fix alt text

This commit is contained in:
Jeremy Thomas
2019-07-18 11:20:17 +02:00
parent 0e8e42b43a
commit 81693da8e3

View File

@@ -1,6 +1,9 @@
{% assign sponsor = site.data.sponsors.by_id[include.sponsor_id] %} {% assign sponsor = site.data.sponsors.by_id[include.sponsor_id] %}
{% assign sponsor_path = "amis/" | append: include.sponsor_id %} {% assign sponsor_path = "amis/" | append: include.sponsor_id %}
{% assign sponsor_alt = sponsor.name | append: " logo" %} {% assign sponsor_alt = sponsor.name | append: " logo" %}
{% if sponsor.title != "" %}
{% assign sponsor_alt = sponsor.title %}
{% endif %}
<div class="{{ include.classname }}"> <div class="{{ include.classname }}">
<a <a
@@ -9,7 +12,7 @@
{% unless sponsor.follow %} {% unless sponsor.follow %}
rel="nofollow" rel="nofollow"
{% endunless %} {% endunless %}
{% if sponsor.blend %}style="mix-blend-mode: multiply;"{% endif %} title="{{ sponsor_alt }}"
> >
{% {%
include elements/responsive-image.html include elements/responsive-image.html