1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-17 02:51:41 +04:00
Files
tabler/pages/_includes/cards/ribbon.html
T
2019-05-08 23:33:50 +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-16"></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>