mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 04:34:30 -07:00
Bulma v9 website (#3249)
* Add Bulma v9 * Add vendor dependencies * Fix native * Fix sponsors * Add style attribute
This commit is contained in:
@@ -5,30 +5,28 @@
|
||||
{% assign sponsor_alt = sponsor.title %}
|
||||
{% endif %}
|
||||
|
||||
<div class="{{ include.classname }}">
|
||||
<a
|
||||
class="bd-sponsor-item"
|
||||
href="{{ sponsor.url }}"
|
||||
target="_blank"
|
||||
{% unless sponsor.follow or sponsor.noopener %}
|
||||
rel="nofollow"
|
||||
{% endunless %}
|
||||
{% if sponsor.noopener %}
|
||||
rel="noopener"
|
||||
{% endif %}
|
||||
title="{{ sponsor_alt }}"
|
||||
>
|
||||
{% if sponsor.textOnly %}
|
||||
<strong>{{ sponsor.textOnly }}</strong>
|
||||
{% else %}
|
||||
{%
|
||||
include elements/responsive-image-2x.html
|
||||
path=sponsor_path
|
||||
extension="png"
|
||||
alt=sponsor_alt
|
||||
width=sponsor.width
|
||||
height=sponsor.height
|
||||
%}
|
||||
{% endif %}
|
||||
</a>
|
||||
</div>
|
||||
<a
|
||||
class="bd-sponsor-item {{ include.classname }}"
|
||||
href="{{ sponsor.url }}"
|
||||
target="_blank"
|
||||
{% unless sponsor.follow or sponsor.noopener %}
|
||||
rel="nofollow"
|
||||
{% endunless %}
|
||||
{% if sponsor.noopener %}
|
||||
rel="noopener"
|
||||
{% endif %}
|
||||
title="{{ sponsor_alt }}"
|
||||
>
|
||||
{% if sponsor.textOnly %}
|
||||
<strong>{{ sponsor.textOnly }}</strong>
|
||||
{% else %}
|
||||
{%
|
||||
include elements/responsive-image-2x.html
|
||||
path=sponsor_path
|
||||
extension="png"
|
||||
alt=sponsor_alt
|
||||
width=sponsor.width
|
||||
height=sponsor.height
|
||||
%}
|
||||
{% endif %}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user