zola-theme-cherrykitten/templates/shortcodes/image.html

4 lines
224 B
HTML
Raw Normal View History

2023-08-01 13:50:53 +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 %}