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.twitter}}
|
|
|
|
<a class="social-link social-link-tw" href="{{twitter_url @site.twitter}}" title="Twitter" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2021-03-01 06:41:30 +00:00
|
|
|
{{#unless @member}}
|
2021-03-03 20:44:25 +00:00
|
|
|
<a class="subscribe-button" href="#/portal">Subscribe</a>
|
2021-03-01 06:41:30 +00:00
|
|
|
{{else}}
|
|
|
|
<a class="subscribe-button" href="#/portal/account">Account</a>
|
|
|
|
{{/unless}}
|
|
|
|
|
2017-06-13 18:02:22 +00:00
|
|
|
</div>
|
|
|
|
</nav>
|