-
You could use a forloop to access a page's children with the the
page.children
object.So this would go in the parent page’s template:
{% for page in page.children %} {{ page.slug }} {% endfor %}
You could use a forloop to access a page's children with the the page.children
object.
So this would go in the parent page’s template:
{% for page in page.children %}
{{ page.slug }}
{% endfor %}