{% extends 'cjkcms/pages/web_page.html' %}
{% load wagtailcore_tags wagtailimages_tags %}

{% block content_body %}
<div class="container">
    {% if academy_page.description %}
    <div class="intro">{{ academy_page.description | richtext }}</div>
    {% endif %}

    {% if academy_page.list_visible %}
    {% for course in courses %}
            {% include 'lxp/snippets/course_summary_block.html' %}
    {% endfor %}
    {% endif %}

    <p><a href="{{ page.get_parent.url }}">Return to homepage</a></p>
</div>
{{ block.super }}
{% endblock %}
