{% extends "base.html" %} {% block content %}
{% for page in pages|sort(attribute='sort-order') %} {% if loop.first %}

{{ page.title }}

{{ page.content }} {% for p in pages|sort(attribute='sort-order') %} {% if next_up %}
Next read about {{ p.title|lower }}. {% set next_up = False %} {% endif %} {% if p.slug == page.slug %} {% set next_up = True %} {% endif %} {% endfor %} {% endif %} {% endfor %}
{% endblock %} {% block js %} {% endblock %}