If the Children Display macro is too basic, and you require much more finesse in what sort of data is displayed along with the children pages, then Reporting allows listing of children pages complete with customized details.
This recipe enables you to list the children pages together with their modified dates as well as the person who modified the pages.
If you'd like to display only the children of the children pages, check out the Displaying a List of Only Grandchildren Pages page.
Reporting for Confluence Server & Data Center
Date Sort, Local Reporter, Report Body, Report Info, Report List
You can copy and paste this code into the Confluence Source Editor:
You can recreate the example in the editor view:
The report will be formatted as a list with Report List, which displays each of the items from a reporter as a list item. Parameter depth is set to 'all' to list descendants with different depth levels.
Local Reporter is used get the children of the current page, setting supplier key to 'Content Supplier'.
Date Sort is used to sort the children returned from the Local Reporter from latest to oldest, by setting supplier key to 'Content Supplier', and setting order to 'descending'.
Report Body is used as a container for displaying reported values.
The title of the individual child content returned from Local Reporter is displayed via Report Info, by setting supplier key to 'Content Supplier'. Setting link to 'true' will make the item a link to the page.
The date the child page is last modified is displayed via Report Info, by setting supplier key to 'Content Supplier'. Format is set to 'format=dd MMM, yyyy'.
The user who last modified the page is displayed via Report Info, by setting supplier key to 'Content Supplier'. The name is made a link to the user's homepage, by setting field link to 'true'.