{% extends "base.html" %} {% block content %} {% for section in section.subsections %} {% set section_data=get_section(path=section) %} {# uncomment the next tag by removing the surrounding tags to display some debug context #} {# section_data {{ section_data | json_encode(pretty=true) | safe }} {# #} {% for page in section_data.pages %} {% include "chapter.html" %} {% endfor %} {% endfor %} {% endblock %} {% block footer %} {% include "footer.html" %} {% endblock %}
{{ section_data | json_encode(pretty=true) | safe }}