bulma/docs/_includes/elements/link.html

23 lines
704 B
HTML
Raw Normal View History

2018-04-10 21:50:18 +00:00
<a class="bd-link" href="{{ include.url }}">
<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>