{% for x in pages %}
{{ x.page.title }}
{% endfor %}
{% for x in pages %}
{{ x.page.content }}
{% endfor %}