{% load static widget_tweaks %} {% if ds.image %} image related to dataset {{ ds.title }} }} {% else %} default image for dataset {{ ds.title }} {% endif %}