mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
6d42df029a
closes #4541 - Add role="presentation" to <li> - Clean up space if nav-current isn't present - Changed all internal references from nav to navigation for consistency - Deleted old nav.hbs - Updated tests
5 lines
203 B
Handlebars
5 lines
203 B
Handlebars
<ul class="nav">
|
|
{{#foreach navigation}}
|
|
<li class="nav-{{slug}}{{#if current}} nav-current{{/if}}" role="presentation"><a href="{{url absolute="true"}}">{{label}}</a></li>
|
|
{{/foreach}}
|
|
</ul> |