{% load url %} {% load meta_attr %} {% load static %}
{% for object in page_obj %}
{{ object.short_name }} logo
{% if 'challenge' in object|meta_attr:'model_name' %} {% firstof object.title object.short_name %} {% else %} {{ object.title }} {% endif %} {% if not object.public %} {% endif %}
{% if 'algorithm' in object|meta_attr:'model_name' %} {% include 'algorithms/algorithm_card_body.html' with algorithm=object %} {% elif 'challenge' in object|meta_attr:'model_name' %} {% include 'challenges/challenge_card_body.html' with challenge=object %} {% else %}

{{ object.description }}

{% endif %}
{% endfor %}