{% load thumbnail %} {% if object.thumbnail %} {% else %} Embeded media {% if object.name %} {{ object.name }} {% else %} {% endif %} {% endif %}