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

{{ current_page.get_title }}

{% endblock subheader_content %} {% block content %}
{% if current_page.publisher_is_draft or not current_page|is_empty_placeholder:"maincontent" %}
{% placeholder "maincontent" %}
{% endif %}
{% 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.program %} {% include "courses/cms/fragment_program_glimpse.html" with program=page.program header_level=2 %} {% endif %} {% empty %}

{% trans "No associated programs" %}

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