bulma/docs/_includes/elements/link.html

28 lines
817 B
HTML
Raw Normal View History

2018-04-10 21:50:18 +00:00
<a class="bd-link" href="{{ include.url }}">
2018-04-11 23:20:58 +00:00
{% if include.surtitle %}
<p class="bd-link-surtitle">
{{ include.surtitle }}
</p>
{% endif %}
2018-04-10 21:50:18 +00:00
<h2 class="bd-link-name">
<figure class="bd-link-figure">
{% if include.icon %}
2018-04-11 01:11:12 +00:00
<span class="bd-link-icon has-text-{% if include.color %}{{ include.color }}{% else %}link{% endif %}">
2018-04-10 21:50:18 +00:00
<i class="{% if include.icon_brand %}fab{% elsif include.icon_regular %}far{% else %}fas{% endif %} fa-{{ include.icon }}"></i>
</span>
{% else %}
<span class="bd-link-counter"></span>
{% endif %}
</figure>
{{ include.name }}
</h2>
<p class="bd-link-subtitle">
{{ include.subtitle }}
</p>
2018-04-11 17:58:11 +00:00
{% if include.more %}
<div class="bd-link-more">
{{ include.more }}
</div>
{% endif %}
2018-04-10 21:50:18 +00:00
</a>