diff --git a/templates/macros/figures.html b/templates/macros/figures.html index 8734660..7d048a1 100644 --- a/templates/macros/figures.html +++ b/templates/macros/figures.html @@ -3,7 +3,7 @@ {# {% set image = resize_image(path=src, height=mdata.height, width=mdata.width, format="webp") %} #}
- {{caption | default(value='')}} + {{caption | default(value='')}} {% if caption != "" %}
{{ caption | markdown() | safe }}
{% endif %}