{% extends "content_view.html" %} {% load pagination_tags collection_tags %} {% block contentbody %} {% collectionitems content as items %} {% if items %} {% autopaginate items 10 %} {% paginate %} {% if content.group_by %} {% collectionregroup items in content as grouped %} {% for group in grouped %}

{{ group.grouper }}

{% endfor %} {% else %} {% endif %} {% paginate %} {% endif %} {% endblock contentbody %}