bulma/docs/_includes/elements/link.html
2020-06-07 14:15:06 +01:00

28 lines
770 B
HTML

<a class="bd-link" href="{{ site.url }}{{ include.path }}">
{% if include.surtitle %}
<p class="bd-link-surtitle">
{{ include.surtitle }}
</p>
{% endif %}
<h2 class="bd-link-name">
<figure class="bd-link-figure">
{% if include.icon %}
<span class="bd-link-icon has-text-link">
<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>
{% if include.more %}
<div class="bd-link-more">
{{ include.more }}
</div>
{% endif %}
</a>