{% if object.has_image %}

{{ object.summary }}

{% else %} {{ object.body_formatted|safe|truncatewords:"50" }} {% endif %}