dawn/templates/shortcodes/image.html

4 lines
222 B
HTML
Raw Permalink Normal View History

2022-05-08 02:01:39 -04:00
{% 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 %}