website-zola/templates/shortcodes/img.html

4 lines
181 B
HTML
Raw Normal View History

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