{% extends "richie/fullwidth.html" %} {% load cms_tags i18n pagination_tags %} {% block subheader_content %}

{{ current_page.get_title }}

{% endblock subheader_content %} {% block content %}
{% if current_page.publisher_is_draft %} {% autopaginate current_page.get_child_pages 100 as object_list %} {% else %} {% autopaginate current_page.get_child_pages.published.distinct 100 as object_list %} {% endif %} {% for page in object_list %} {% if page.category %} {% include "courses/cms/fragment_category_glimpse.html" with category=page.category category_variant="glimpse" %} {% endif %} {% empty %}

{% trans "No categories" %}

{% endfor %} {% if object_list %} {% include "richie/pagination.html" %} {% endif %}
{% endblock content %}