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.