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>
|
2023-05-22 19:24:02 +00:00
|
|
|
{{#unless @site.members_enabled}}
|
2019-12-04 10:41:50 +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>
|
|
|
|
{{/unless}}
|
|
|
|
{{/if}}
|
|
|
|
|
2023-05-22 19:24:02 +00:00
|
|
|
{{#if @site.members_enabled}}
|
2020-12-04 01:45:04 +00:00
|
|
|
<a class="subscribe-button" href="#subscribe">{{t "Subscribe"}}</a>
|
2017-06-13 18:02:22 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</nav>
|