diff --git a/templates/gallery.html b/templates/gallery.html index 54bc640..dae4b8b 100644 --- a/templates/gallery.html +++ b/templates/gallery.html @@ -6,9 +6,9 @@

diff --git a/templates/macros/figures.html b/templates/macros/figures.html index 0292365..8734660 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 %}