{% load wagtailimages_tags wagtailcore_tags %}
{% picture self.image format-{avif,webp,jpeg} fill-{800x650,1920x900} sizes="100vw" class="hero-image" alt="" %}

{{ self.title }}

{{ self.hero_text }}

{% if self.hero_cta_link %} {{ self.hero_cta }} {% else %} {{ self.hero_cta }} {% endif %}