2016-11-23 02:29:35 +01:00
|
|
|
<figure class="{{ include.class }}">
|
|
|
|
<img src=
|
|
|
|
{% if include.image_path contains "://" %}
|
|
|
|
"{{ include.image_path }}"
|
|
|
|
{% else %}
|
2019-07-06 03:46:01 +02:00
|
|
|
"{{ include.image_path | absolute_url }}"
|
2016-11-23 02:29:35 +01:00
|
|
|
{% endif %}
|
|
|
|
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
|
|
|
{% if include.caption %}
|
2019-07-06 03:46:01 +02:00
|
|
|
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
|
|
|
|
{% endif %}
|
|
|
|
</figure>
|