diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..7c161f0 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} + +{% block content %} + + + + {{ section.title }} + + + + + + {% if section.content %} + {{ section.content | safe }} + {% endif %} + + {% for page in section.pages %} + + {{ page.title }} + {{ page.content | safe }} + + {% endfor %} + + + +{% endblock %}