mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-11-18 03:06:32 +00:00
bfaae0f7ba
no issue * Changed Feedly URL to HTTPS protocol * Updated Feedly URL pattern
30 lines
1.2 KiB
Handlebars
30 lines
1.2 KiB
Handlebars
<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}}
|
|
{{navigation}}
|
|
{{/if}}
|
|
</div>
|
|
<div class="site-nav-right">
|
|
<div class="social-links">
|
|
{{#if @blog.facebook}}
|
|
<a class="social-link social-link-fb" href="{{facebook_url @blog.facebook}}" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
|
|
{{/if}}
|
|
{{#if @blog.twitter}}
|
|
<a class="social-link social-link-tw" href="{{twitter_url @blog.twitter}}" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
|
|
{{/if}}
|
|
</div>
|
|
{{#if @labs.subscribers}}
|
|
<a class="subscribe-button" href="#subscribe">Subscribe</a>
|
|
{{else}}
|
|
<a class="rss-button" href="https://feedly.com/i/subscription/feed/{{@blog.url}}/rss/" target="_blank" rel="noopener">{{> "icons/rss"}}</a>
|
|
{{/if}}
|
|
</div>
|
|
</nav>
|