That’s expected, the {{navigation}} helper is what sets up the context for ./partials/navigation.hbs to work.
By creating the partial file you are overriding the default template that {{navigation}} uses but you still need to use it as {{navigation}} inside index.hbs (or other file) rather than {{> "navigation"}}
But when I add custom class it doesn’t work. Like this: {{#foreach navigation}} <li class="customclass nav-{{slug}}{{#if current}} nav-current{{/if}}"> <a href="{{url absolute="true"}}">{{label}}</a> </li> {{/foreach}}
Cannot add custom class.
I replaced the line {{navigation}} with the code from the aforementioned documentation. And nothing showed up. If I replace the {{#foreach navigation}} line with {{#foreach@self.navigation}} and it works, but only the {{label}} tag is properly populated. The {{slug}} {{url}} {{current}} don’t seem to work. So, I’m pretty confused on what to do.
I should also mention the navigation.hbs is just the normal “source” theme’s navigation file up until I swapped out the {{navigation}} like I did above.