{% block page_content %}
    {% autoescape false %}

        {% if plugin_content_top %}
            <div class="page-content-top">
                {{ plugin_content_top }}
            </div>
        {% endif %}

        {{ sniff_notification }}

        {% if home_welcome %}
            <article id="home-welcome">
                {{ home_welcome }}
            </article>
        {% endif %}

        {% if home_include %}
            <article id="home-include">
                {{ home_include }}
            </article>
        {% endif %}

        {% block page_body %}
            {# include 'layout/page_body.tpl'|get_template #}
        {% endblock %}

        {% if welcome_to_course_block %}
            <article id="homepage-course">
                {{ welcome_to_course_block }}
            </article>
        {% endif %}

        {% block content %}
            {% if content is not null %}
                <section id="page" class="{{ course_history_page }}">
                    {{ content }}
                </section>
            {% endif %}
        {% endblock %}

        {% if announcements_block %}
            <article id="homepage-announcements">
                {{ announcements_block }}
            </article>
        {% endif %}

        {% if course_category_block %}
            <article id="homepage-course-category">
                {{ course_category_block }}
            </article>
        {% endif %}
        {# % include 'layout/hot_courses.tpl'|get_template #}
        {# include 'session/sessions_current.tpl'|get_template #}
        {% if plugin_content_bottom %}
            <div id="plugin_content_bottom">
                {{ plugin_content_bottom }}
            </div>
        {% endif %}

    {% endautoescape %}
{% endblock %}
