bmen-jekyll/_includes/elements/figure.html

6 lines
292 B
HTML

<figure class="figure w-100">
<img src="{{ include.image }}" class="figure-img img-fluid rounded" alt="{{ include.alt | default: include.caption }}">
{%- if include.caption -%}
<figcaption class="figure-caption text-center">{{ include.caption }}</figcaption>
{%- endif -%}
</figure>