{% if section.get_children %} {% if section.show_toc %}

Table of Contents

{% if section.deep_toc %} {% else %} {% endif %}
{% endif %} {% endif %}