{% load wagtailcore_tags wagtailimages_tags coderedcms_tags %} {% for source in value.source %} {% include_block source with tiled=value.tiled %} {% endfor %} title: '{{ value.title }}', base: {{ value.base|lower }}, removable: {{ value.removable|lower }}, {% comment %} visible predelat na bool ne string {% endcomment %} {% if value.swipe_side %} swipeSide: '{{ value.swipe_side }}', {% endif %} }, visible: {{ value.visible|lower }}, }),