Ghost/core/frontend/helpers/tpl/navigation.hbs

6 lines
189 B
Handlebars
Raw Normal View History

<ul class="nav">
{{#foreach navigation}}
<li class="{{link_class for=(url) class=(concat "nav-" slug)}}"><a href="{{url absolute="true"}}">{{label}}</a></li>
{{/foreach}}
</ul>