bulma/docs/_includes/index/sponsor.html
Jeremy Thomas 3d1fb0c4a3 2019 🎉
2019-01-10 09:02:39 +11:00

43 lines
1.3 KiB
HTML

<div class="section bd-partnrs">
<div class="container">
<div class="bd-partnrs-list">
<div class="bd-partner bd-is-sponsor">
<p class="bd-partner-title">Sponsors</p>
<div class="bd-partner-sponsors">
{% for sponsor_id in site.data.sponsors.list %}
{% assign sponsor = site.data.sponsors.by_id[sponsor_id] %}
{% assign sponsor_path = "sponsors/" | append: sponsor_id %}
{% assign sponsor_alt = sponsor.name | append: " logo" %}
<div class="bd-partner-sponsor">
<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>
{% endfor %}
</div>
</div>
<div class="bd-partner bd-is-carbon">
<p class="bd-partner-title">Ads via Carbon</p>
<div class="bd-partner-carbon">
{% include elements/carbon.html %}
</div>
</div>
</div>
</div>
</div>