friendenstein/templates/shortcodes/img.html

4 lines
181 B
HTML
Raw Normal View History

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