zola-theme-cherrykitten/templates/shortcodes/image.html
2023-08-01 15:50:53 +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 %}