dawn/templates/shortcodes/image.html
2022-05-08 02:01:39 -04:00

4 lines
222 B
HTML

{% if src %}
<img src="{{ src | safe }}"{% if alt %} alt="{{ alt }}"{% endif %} class="{% if position %}{{ position }}{% else -%} center {%- endif %}" {%- if style %} style="{{ style | safe }}" {%- endif %} />
{% endif %}