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