mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Fix alt text
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user