1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-22 05:21:45 +04:00
Files
tabler/pages/_includes/cards/ribbon.html
T
2019-06-01 21:10:03 +02:00

11 lines
572 B
HTML

{% assign product-id = include.product-id | default: 0 %}
{% assign product = site.data.products[product-id] %}
<div class="card">
<div class="card-body p-5">
<div class="h-10"></div>
</div>
<div class="ribbon{% if include.top %} ribbon-top{% endif %}{% if include.left %} ribbon-left{% endif %}{% if include.bottom %} ribbon-bottom{% endif %}{% if include.bookmark %} ribbon-bookmark{% endif %}{% if include.color %} bg-{{ include.color }}{% endif %}">{% if include.text %}{{ include.text }}{% else %}{% include ui/icon.html icon="star" %}{% endif %}</div>
</div>