navTree
Generates the HTML for a full site tree. This method can be used as a shorthand for recursively iterating over pagelists to create nested lists of page links.
<@ navTree { options } @>
Options
- all: true Boolean
- Expand all pages. If set to
false
, only pages within the path to the current page get expanded. - context: "" String
- The root page of the tree.
- rootLevel: false Boolean|Integer
- A kind of flexible root page. The page at a given level in the current path will be used as root page.
- excludeHidden: true Boolean
- Exclude hidden pages from the tree.
- class: false Boolean|String
- The class of the
<ul>
element. - active: false Boolean|String
- The class of the active
<li>
element.