getActiveAndParents
Renders its sub-section with a parents array of docObjects and the
last parent menu as the "active" item.
defaultHelpers.getActiveAndParents(options)
Renders its sub-section with a parents array of docObjects and the
last parent menu as the "active" item.
Parameters
-
options
{*}
Use
Call it in your template like:
where
parentsis each parent docObject of thecurrentdocObject andactiveis the first docObject of current that has children.