Children Tag
The Children tag allows you to loop over and fetch data from the current URL.
Overview
The children tag allows you to fetch data and loop over the children of the current page/URL. Can be handy when building a sub-nav, for example.
You can get the parent by using the Parent tag.
Example
{{ children }} {{ title }}{{ /children }}
<statamic:children> {{ $title }}</statamic:children>
Docs Feedback
Submit improvements, related content, or suggestions through Github.
Betterify this page