mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 04:43:12 +03:00
ddcc7b78b6
closes #603, issue #395 - Changed hard-coded 'JOE BLOGGS' to use author data - We still had api calls loading data server side before rendering pages.. which is unnecessary. - Only thing using this was editor title, which is now populated client side - May improve content screen load time.
19 lines
928 B
Handlebars
19 lines
928 B
Handlebars
<header class="floatingheader">
|
|
<a class="{{#if featured}}featured{{else}}unfeatured{{/if}}" href="#">
|
|
<span class="hidden">Star</span>
|
|
</a>
|
|
{{! TODO: JavaScript toggle featured/unfeatured}}
|
|
<span class="status">{{#if published}}Published{{else}}Written{{/if}}</span>
|
|
<span class="normal">by</span>
|
|
<span class="author">{{#if author.name}}{{author.name}}{{else}}{{author.email_address}}{{/if}}</span>
|
|
<section class="post-controls">
|
|
<a class="post-edit" href="#"><span class="hidden">Edit Post</span></a>
|
|
<a class="post-settings" href="#" data-toggle=".menu-drop-right"><span class="hidden">Post Settings</span></a>
|
|
<ul class="menu-drop-right overlay">
|
|
<li><a href="#" class="delete">Delete</a></li>
|
|
</ul>
|
|
</section>
|
|
</header>
|
|
<section class="content-preview-content">
|
|
<div class="wrapper"><h1>{{{title}}}</h1>{{{content}}}</div>
|
|
</section> |