-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f4d581
commit eeb8b24
Showing
7 changed files
with
43 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<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}} | ||
{{!-- Outputting nav links from Ghost admin settings/design --}} | ||
<div class="nav-menu"> | ||
<ul> | ||
{{#foreach navigation}} | ||
<li class="nav-item nav-item-{{slug}}{{#if current}} nav-item-current{{/if}}"><a href="{{url absolute="true"}}">{{label}}</a></li> | ||
{{/foreach}} | ||
</ul> | ||
</div> | ||
{{/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">{{> "icons/facebook"}}</a> | ||
{{/if}} | ||
{{#if @blog.twitter}} | ||
<a class="social-link social-link-tw" href="{{twitter_url @blog.twitter}}" target="_blank">{{> "icons/twitter"}}</a> | ||
{{/if}} | ||
</div> | ||
{{#if @labs.subscribers}} | ||
<a class="subscribe-button" href="{{@blog.url}}/subscribe/">Subscribe</a> | ||
{{else}} | ||
<a class="rss-button" href="http://cloud.feedly.com/#subscription/feed/{{@blog.url}}/rss/" target="_blank">{{> "icons/rss"}}</a> | ||
{{/if}} | ||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters