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
29 lines
1.2 KiB
Handlebars
29 lines
1.2 KiB
Handlebars
<div class="floating-header">
|
|
<div class="floating-header-logo">
|
|
<a href="{{@blog.url}}">
|
|
{{#if @blog.icon}}
|
|
<img src="{{@blog.icon}}" alt="{{@blog.title}} icon" />
|
|
{{/if}}
|
|
<span>{{@blog.title}}</span>
|
|
</a>
|
|
</div>
|
|
<span class="floating-header-divider">—</span>
|
|
<div class="floating-header-title">{{title}}</div>
|
|
<div class="floating-header-share">
|
|
<div class="floating-header-share-label">Share this {{> "icons/point"}}</div>
|
|
<a class="floating-header-share-tw" href="https://twitter.com/share?text={{encode title}}&url={{url absolute="true"}}"
|
|
onclick="window.open(this.href, 'share-twitter', 'width=550,height=235');return false;">
|
|
{{> "icons/twitter"}}
|
|
</a>
|
|
<a class="floating-header-share-fb" href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}"
|
|
onclick="window.open(this.href, 'share-facebook','width=580,height=296');return false;">
|
|
{{> "icons/facebook"}}
|
|
</a>
|
|
</div>
|
|
<progress class="progress" value="0">
|
|
<div class="progress-container">
|
|
<span class="progress-bar"></span>
|
|
</div>
|
|
</progress>
|
|
</div>
|