It's a common task that a page contains a quick access list to its sub-pages, but only the immediate ones (i.e. not sub-sub-pages). To achieve this, use the wiki.tree function, pass it the path of the current page, and give it a depth limit of 1.
{{ wiki.tree(page.path, 1) }}
This will create an alphabetically sorted, bulleted list of sub-pages. Like this:
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by