2017-06-13 14:02:22 -04:00
|
|
|
<nav class="site-nav">
|
|
|
|
<div class="site-nav-left">
|
|
|
|
{{^is "home"}}
|
|
|
|
{{#if @blog.logo}}
|
|
|
|
<a class="site-nav-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>
|
|
|
|
{{else}}
|
|
|
|
<a class="site-nav-logo" href="{{@blog.url}}">{{@blog.title}}</a>
|
|
|
|
{{/if}}
|
|
|
|
{{/is}}
|
|
|
|
{{#if @blog.navigation}}
|
2017-06-14 05:41:30 -04:00
|
|
|
{{navigation}}
|
2017-06-13 14:02:22 -04:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="site-nav-right">
|
|
|
|
<div class="social-links">
|
|
|
|
{{#if @blog.facebook}}
|
2017-10-03 05:42:08 -04:00
|
|
|
<a class="social-link social-link-fb" href="{{facebook_url @blog.facebook}}" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
|
2017-06-13 14:02:22 -04:00
|
|
|
{{/if}}
|
|
|
|
{{#if @blog.twitter}}
|
2017-10-03 05:42:08 -04:00
|
|
|
<a class="social-link social-link-tw" href="{{twitter_url @blog.twitter}}" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
|
2017-06-13 14:02:22 -04:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{#if @labs.subscribers}}
|
2017-06-15 10:03:19 -04:00
|
|
|
<a class="subscribe-button" href="#subscribe">Subscribe</a>
|
2017-06-13 14:02:22 -04:00
|
|
|
{{else}}
|
2018-01-22 22:30:03 -05:00
|
|
|
<a class="rss-button" href="https://feedly.com/i/subscription/feed/{{@blog.url}}/rss/" target="_blank" rel="noopener">{{> "icons/rss"}}</a>
|
2017-06-13 14:02:22 -04:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</nav>
|