Skip to content

Commit c741c50

Browse files
author
Jérôme Poskin
committed
Fix wrong condition
1 parent 9fd6d3c commit c741c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/views/Sitemap/sitemap.xml.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{% if image.path is defined %}
1919
<image:loc>{{ image.path }}</image:loc>
2020
{% endif %}
21-
{% if image.path is defined %}
21+
{% if image.caption is defined %}
2222
<image:caption>{{ image.caption }}</image:caption>
2323
{% endif %}
2424
{% if image.geo_location is defined %}

0 commit comments

Comments
 (0)