{% extends "auth.html" %} {% block full_width_content %}
{{ page_title }}
{# Main content #}

{{ section_title }}

{% if intro %}

{{ intro|commonmark }}

{% endif %} {# Plain text content #} {% for subsection in subsections %}

{{ subsection.title }}

{{ subsection.text|commonmark }}

{% endfor %} {# Per-level content, has different structure #} {% for level in levels %}

{{ level.title }}

{% for mistake_section in level.sections %}

{{ mistake_section.title }}

{% if mistake_section.example %}

{{ mistake_section.example.error_text|commonmark }}

{{ mistake_section.example.error_code }}

{{ mistake_section.example.solution_text|commonmark }}

{{ mistake_section.example.solution_code }}
{% else %}

{{ mistake_section.text|commonmark }}

{% if mistake_section.code %}
{{ mistake_section.code }}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endblock %}