体验新版 GitCode,发现更多精彩内容 >>
{% 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>