mnts.dev/partials/navigation.hbs

18 lines
598 B
Handlebars
Raw Normal View History

2015-02-27 14:48:15 +00:00
<div class="nav">
2015-02-28 12:34:58 +00:00
<h3 class="nav-title">Menu</h3>
2015-02-27 14:48:15 +00:00
<a href="#" class="nav-close">
<span class="hidden">Close</span>
</a>
<ul>
{{#foreach navigation}}
<li class="nav-{{slug}}{{#if current}} nav-current{{/if}}"><a href="{{url absolute="true"}}">{{label}}</a></li>
2015-02-27 14:48:15 +00:00
{{/foreach}}
</ul>
{{#if @labs.subscribers}}
<a class="subscribe-button" href="{{@blog.url}}/subscribe/">Subscribe</a>
{{else}}
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
{{/if}}
2015-02-28 12:34:58 +00:00
</div>
<span class="nav-cover"></span>