cherrykitten.dev/templates/shortcodes/image.html

4 lines
224 B
HTML
Raw Normal View History

2023-04-09 22:13:12 +00: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 %}