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
parents
is each parent docObject of thecurrent
docObject andactive
is the first docObject of current that has children.