2017-06-13 18:02:22 +00:00
|
|
|
<nav class="site-nav">
|
2019-12-04 10:41:50 +00:00
|
|
|
<div class="site-nav-left-wrapper">
|
|
|
|
<div class="site-nav-left">
|
|
|
|
{{#if @site.logo}}
|
|
|
|
<a class="site-nav-logo" href="{{@site.url}}"><img src="{{@site.logo}}" alt="{{@site.title}}" /></a>
|
|
|
|
{{else}}
|
|
|
|
<a class="site-nav-logo" href="{{@site.url}}">{{@site.title}}</a>
|
2019-10-21 05:43:34 +00:00
|
|
|
{{/if}}
|
2019-12-04 10:41:50 +00:00
|
|
|
<div class="site-nav-content">
|
|
|
|
{{#if @site.navigation}}
|
|
|
|
{{navigation}}
|
|
|
|
{{/if}}
|
|
|
|
{{#is "post"}}
|
|
|
|
<span class="nav-post-title {{#unless @site.logo}}dash{{/unless}}">{{post.title}}</span>
|
|
|
|
{{/is}}
|
|
|
|
</div>
|
2019-10-21 05:43:34 +00:00
|
|
|
</div>
|
2017-06-13 18:02:22 +00:00
|
|
|
</div>
|
|
|
|
<div class="site-nav-right">
|
2019-12-04 10:41:50 +00:00
|
|
|
{{#if @site.secondary_navigation}}
|
|
|
|
{{navigation type="secondary"}}
|
|
|
|
{{else}}
|
|
|
|
<div class="social-links">
|
|
|
|
{{#if @site.facebook}}
|
|
|
|
<a class="social-link social-link-fb" href="{{facebook_url @site.facebook}}" title="Facebook" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
|
|
|
|
{{/if}}
|
|
|
|
{{#if @site.twitter}}
|
|
|
|
<a class="social-link social-link-tw" href="{{twitter_url @site.twitter}}" title="Twitter" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2021-03-01 06:41:30 +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>
|
2019-12-04 10:41:50 +00:00
|
|
|
{{/if}}
|
|
|
|
|
2021-03-01 06:41:30 +00:00
|
|
|
{{#unless @member}}
|
|
|
|
<a class="subscribe-button" href="#subscribe">Subscribe</a>
|
|
|
|
{{else}}
|
|
|
|
<a class="subscribe-button" href="#/portal/account">Account</a>
|
|
|
|
{{/unless}}
|
|
|
|
|
2017-06-13 18:02:22 +00:00
|
|
|
</div>
|
|
|
|
</nav>
|