{% load static %} {# display nothing if no banners #} {% if banners and BannersJSON %} {% endif %}