mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
21 lines
577 B
HTML
21 lines
577 B
HTML
|
{% assign sponsor = site.data.sponsors.by_id[include.sponsor_id] %}
|
||
|
{% assign sponsor_path = "sponsors/" | append: include.sponsor_id %}
|
||
|
{% assign sponsor_alt = sponsor.name | append: " logo" %}
|
||
|
|
||
|
<div class="{{ include.classname }}">
|
||
|
<a
|
||
|
href="{{ sponsor.url }}"
|
||
|
target="_blank"
|
||
|
rel="nofollow"
|
||
|
{% if sponsor.blend %}style="mix-blend-mode: multiply;"{% endif %}
|
||
|
>
|
||
|
{%
|
||
|
include elements/responsive-image.html
|
||
|
path=sponsor_path
|
||
|
extension="png"
|
||
|
alt=sponsor_alt
|
||
|
width=sponsor.width
|
||
|
height=sponsor.width
|
||
|
%}
|
||
|
</a>
|
||
|
</div>
|