{% extends "base.html" %} {% block content %} {{section.title}} {% for page in section.pages %} {{ page.title }} {% endfor %} {% endblock content %}