Permalink
Browse files

add facebook, twitter and subscribe to menu

  • Loading branch information...
zutrinken committed Feb 4, 2017
1 parent 112741b commit e5013ea7e0d9f42d3bcd986442a7e00c178f707e
Showing with 10 additions and 0 deletions.
  1. +10 −0 partials/navigation.hbs
View
@@ -6,7 +6,17 @@
{{#foreach navigation}}
<li class="nav-{{slug}}{{#if current}} active{{/if}}" role="presentation"><a href="{{url absolute="true"}}">{{label}}</a></li>
{{/foreach}}
{{#if @blog.twitter}}
<li class="nav-twitter"><a href="{{twitter_url}}" title="{{@blog.twitter}}"><i class="ic ic-twitter"></i> Twitter</a></li>
{{/if}}
{{#if @blog.facebook}}
<li class="nav-facebook"><a href="{{facebook_url}}" title="{{@blog.facebook}}"><i class="ic ic-facebook"></i> Facebook</a></li>
{{/if}}
{{#if @labs.subscribers}}
<li class="nav-subscribe"><a href="{{@blog.url}}/subscribe/"><i class="ic ic-mail"></i> Subscribe</a></li>
{{else}}
<li class="nav-rss"><a href="{{@blog.url}}/rss/"><i class="ic ic-rss"></i> Subscribe</a></li>
{{/if}}
</ul>
</div>
</nav>

0 comments on commit e5013ea

Please sign in to comment.