In the PartialFunction for sitemapMutator, you may want to look for a particular Loc in the menu to determine
if you want to (1) replace it, (2) add your menus after it or (3) insert your menus under it. You can create
a pattern matcher via buildMenuMatcher which returns an instance of UnapplyLocMatcher.
For example:
val MyMarkerLocParam = new Loc.LocParam[Any]
val MyMatcher = SiteMap.buildMenuMatcher(_ == MyMarkerLocParam)
In the PartialFunction for sitemapMutator, you may want to look for a particular Loc in the menu to determine if you want to (1) replace it, (2) add your menus after it or (3) insert your menus under it. You can create a pattern matcher via buildMenuMatcher which returns an instance of UnapplyLocMatcher.
For example: