mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
bbfea086b3
closes: #5162 - We no longer have to implement funky current logic, our link_class helper will do this for us - We use {{concat}} to pass an extra class for the li, so we don't end up with a random space
6 lines
217 B
Handlebars
6 lines
217 B
Handlebars
<ul class="nav" role="menu">
|
|
{{#foreach navigation}}
|
|
<li class="{{link_class for=(url) class=(concat "nav-" slug)}}" role="menuitem"><a href="{{url absolute="true"}}">{{label}}</a></li>
|
|
{{/foreach}}
|
|
</ul>
|