website-zola/templates/shortcodes/img.html
2024-08-27 21:48:47 +02:00

4 lines
181 B
HTML

<div {% if class %}class="{{class}}"{% endif %}>
<img src="{{id}}" {% if alt %}alt="{{alt}}"{% endif %}>
{% if caption %}<div class="caption">{{caption}}</div>{% endif %}
</div>