Fix alt text
This commit is contained in:
parent
0e8e42b43a
commit
81693da8e3
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue