anemone/templates/shortcodes/img.html

4 lines
181 B
HTML
Raw Permalink Normal View History

2023-07-04 01:37:44 +01:00
<div {% if class %}class="{{class}}"{% endif %}>
<img src="{{id}}" {% if alt %}alt="{{alt}}"{% endif %}>
{% if caption %}<div class="caption">{{caption}}</div>{% endif %}
</div>