anemone/templates/shortcodes/img.html
2023-07-04 01:37:44 +01:00

4 lines
No EOL
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>