cherrykitten.dev/templates/shortcodes/image.html
2023-04-10 00:13:12 +02:00

3 lines
224 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 %}