navBelow

generates a list of links to all pages below the certain page.

@t(navBelow{ Options })

Options

parent: "[current page URL]" - string

The URL of the parent of the listed pages. By default that will be always the current page.

homepage: false - boolean

In case the parent page is the homepage (URL = "/"), that option defines, whether the homepage gets added to the list of links as well.

class: false - string or false

An optional class for the wrapping <ul></ul> element.


Example

To create a menu for all pages directly below a certain page:

@t(navBelow{ parent: "/url/to/page", class: "nav" })
See also