add image captions

This commit is contained in:
2022-06-23 21:50:12 -04:00
parent 7626e95032
commit 1e8616424a
4 changed files with 41 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
{% if text %}
<div class="icaption-{% if position %}{{ position }}{% else -%}center{%- endif %}" {%- if style %} style="{{ style | safe }}"{%- endif %}>
<i>{{ text | safe }}</i>
</div>
{% endif %}