bulma/docs/_includes/elements/link.html
2021-01-14 21:31:45 +00:00

36 lines
908 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>
{% if include.new %}
<span style="float: right;" class="ml-2 tag is-primary">
New!
</span>
{% endif %}
{{ include.name }}
</h2>
<div class="bd-link-subtitle">
{{ include.subtitle }}
</div>
{% if include.more %}
<div class="bd-link-more">
{{ include.more }}
</div>
{% endif %}
</a>