Highlighted

How does sitenavbar build the navItems json?

prestonc9992104

24-05-2018

I have made an overlay of "social/console/components/hbs/sitenavbar" to make some custom additions.  The sitenavbar.hbs loops through the 'navItems' data to produce the links, and I want to add a custom piece of data to the 'navItems' json that is generated.  Would someone please help me understand how the 'navItems' json data gets created?

My best guess is that the "{{#include }}" script used by "social/console/components/hbs/sitepage/sitepage.hbs" to add sitenavbar is doing it, but I can't figure out how.

Thanks,

Preston