{% load jmbo_template_tags jmbo_inclusion_tags pagination_tags %} {% if object_list.exists %}
{% if listing.title %}
{{ listing.title }}
{% endif %} {% if pinned_list %}
{% for object in pinned_list %}
{% render_object object.as_leaf_class "listing_item_thumbnail_pinned" %}
{% endfor %}
{% endif %}
{% if items_per_page %} {% autopaginate object_list items_per_page %} {% endif %} {% for object in object_list %}
{% render_object object.as_leaf_class "listing_item_thumbnail" %}
{% endfor %}
{% if items_per_page %} {% paginate %} {% endif %}
{% endif %}