You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
476 B
8 lines
476 B
{% if src %} |
|
<figure class="{% if position %}{{ position }}{% else -%} center {%- endif %}" > |
|
<img src="{{ src | safe }}"{% if alt %} alt="{{ alt }}"{% endif %}{% if style %} style="{{ style }}"{% endif %} /> |
|
{% if caption %} |
|
<figcaption class="{% if caption_position %}{{ caption_position }}{% else -%} center {%- endif %}"{% if caption_style %} style="{{ caption_style | safe }}"{% endif %}>{{ caption }}</figcaption> |
|
{% endif %} |
|
</figure> |
|
{% endif %}
|
|
|