This page explains the process of changing the navbar, but I just spent around 10 minutes wondering why it wasn’t working.
Turns out it’s because I was trying to use the forEach
in a template, other than navigation.hbs
.
You explain this under the List of Attributes
section of the page (below), but it might be worth moving this up slightly to be under the Changing the template
section
These attributes can only be used inside the {{#foreach navigation}} loop inside ./partials/navigation.hbs. A navigation loop will not work in other partial templates or theme files.
Or maybe I should just learn to read the entire article first - just an idea!