Children

The :children directive renders a list of the current page's child pages (and, with depth, their descendants). It is a leaf directive and is the standard way to build an index or landing page that links into its sub-sections. This page has three child pages so the examples below produce real output.

Properties: depth (number, how many levels to render, default 1), variant (list | normal, default list).

Rendered:

Source:

1
::children

Rendered:

Source:

1
::children{depth=3}

Rendered:

Source:

1
::children{depth=999 variant=normal}