Skip to content

Add short-code to list (nested) pages of the current section

Adds a new short-code to display all (nested) section pages in a link list (with header title) with nested link lists for nested page sections. The order of the list items resembles the page order in the navigation menu.

Usage:

Use the short-code in the markdown page the represents a subsection (a subsection is represented by a markdown page and a subsection directory (identically named) that resides in the same directory as the markdown page).

{{< section-toc title="Contents">}}

Note that the named input argument title is optional and defaults to Contents.

Signed-off-by: Sietze van Buuren Sietze.vanBuuren@de.bosch.com

Merge request reports