Unknown "endfor" tag in "{% macro caption(title, body) %} {% if title != '' or body != '' %} {% endif %} {% endmacro %} {% import _self as helper %} {% if images is defined %}