21 lines
528 B
Handlebars
21 lines
528 B
Handlebars
{{!--
|
|
This navigation template is shared across all the pages.
|
|
Also it includes the big submenu.
|
|
--}}
|
|
|
|
{{#if isSecondary}}
|
|
<ul class="m-secondary-menu">
|
|
{{#foreach navigation}}
|
|
<li class="nav-{{slug}}{{#if current}} nav-current{{/if}}">
|
|
<a href="{{url absolute="true"}}">{{label}}</a>
|
|
</li>
|
|
{{/foreach}}
|
|
</ul>
|
|
{{else}}
|
|
{{#foreach navigation}}
|
|
<li class="nav-{{slug}}{{#if current}} nav-current{{/if}}">
|
|
<a href="{{url absolute="true"}}">{{label}}</a>
|
|
</li>
|
|
{{/foreach}}
|
|
{{/if}}
|