{% extends "base.html" %} {% block title %} {{ config.title }} {% endblock title %} {% block content %} <div class="content"> <div class="block"> {{ section.content | safe }} </div> <div class="block"> <ul> {% for subsection in section.subsections | reverse %} {% set subsection = get_section(path=subsection) %} <li><a href="{{ subsection.path | safe }}">{{ subsection.title | safe }}</a></li> {% endfor %} </ul> </div> </div> {% endblock content %}