navPerLevel

generate a seperate navigation menu for each level within the current path.

@t(navPerLevel{ Options })

Options

levels: false - int or false

Maximum depth of navigation.

homepage: false - boolean

That option defines, whether the homepage gets added to the list of links for the first level.

class: false - string or false

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


Example

A simple separated two-level navigation with optional class names for the <ul></ul> elements:

@t(navPerLevel{ 
    levels: 2,
    homepage: true,
    class: "nav levels" 
})
See also