{% load wagtailcore_tags wagtailimages_tags %}
{% if block.value.type == 'card-bgimage' %}
{% endif %} {% if self.image %} {% image self.image fill-800x450 format-webp preserve-svg as card_img %}
{% endif %}

{{self.title}}

{{self.description}}

{% if self.link %}
{% include_block self.link %}
{% endif %} {% if block.value.type == 'card-bgimage' %}
{% endif %}