2021-10-08 22:57:04 +00:00
|
|
|
<figure class="text-center">
|
|
|
|
<a href="{{ config.base_url }}/{{ link }}">
|
|
|
|
{% if resize_width %}
|
|
|
|
{% set image = resize_image(path=image, width=resize_width, op="fit_width", quality=quality | default(value=75)) %}
|
|
|
|
<img src="{{ image.url }}" alt="{{ alt }}" />
|
|
|
|
{% elif width %}
|
|
|
|
<img src="{{ config.base_url }}/{{ image }}" width="{{ width }}" alt="{{ alt }}" />
|
2020-03-22 21:51:57 +00:00
|
|
|
{% else %}
|
2021-10-08 22:57:04 +00:00
|
|
|
<img src="{{ config.base_url }}/{{ image }}" alt="{{ alt }}" />
|
2020-03-22 21:51:57 +00:00
|
|
|
{% endif %}
|
2021-10-08 22:57:04 +00:00
|
|
|
</a>
|
2020-03-21 03:51:11 +00:00
|
|
|
<figcaption>{{ caption }}</figcaption>
|
|
|
|
</figure>
|