{% load static wagtailcore_tags wagtailimages_tags %} {% if page.header_image or page.header_color_class %} {% image page.header_image fill-1200x350 as bg_img %}