mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
fbb875f5d1
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> |