2016-10-07 22:45:59 +02:00
|
|
|
<figure class="{{ include.class }}">
|
2020-03-06 21:37:07 +01:00
|
|
|
<img src="{{ include.image_path | relative_url }}"
|
|
|
|
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
2016-10-07 22:45:59 +02:00
|
|
|
{% if include.caption %}
|
2019-03-22 21:05:48 +01:00
|
|
|
<figcaption>
|
|
|
|
{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
|
2020-03-06 21:37:07 +01:00
|
|
|
</figcaption>
|
|
|
|
{% endif %}
|
|
|
|
</figure>
|