{% load cms_tags %} <{{ instance.tag_type }} {{ instance.attributes_str }}> {% if link %} {% endif %} {% with image=carousel_image.image %} {% include "djangocms_bootstrap5/carousel/default/image.html" %} {% endwith %} {% if link %} {% endif %}