1c5e9d9ed3
no issue - use latest casper in test fixtures - never ever use the root content folder for tests - if we start/fork Ghost for the tests, we use a tmp folder - this change is required to for an upcoming PR (#9029) - i've added a TODO to create a helper fn for stopping the ghost server, so we can cleanup the tmp folder * Care about TODO's in our channels spec - add the 1.4 compatible casper theme to fixtures - so as soon as you start Ghost, the test env will provide the content folder in /tmp something with the activated latest default casper and the 1.4 compatible old casper - there are tests which tests different logici e.g. pagination - therefor we need a different theme, we are simply using our 1.4 casper
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">{{> "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="#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>
|