{% with object.get_absolute_url as url %} {% block highlighted_item_header %}
{% block highlighted_item_header_content %} {% if url %}

{{ highlighted_item }}

{% else %}

{{ highlighted_item }}

{% endif %} {% endblock %}
{% endblock %}
{% block highlighted_item_body_content %}

This is a sample template you should override. In this exemple, we use an IMG tag to display the image of the item.

{% endblock %}
{% endwith %}