mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 11:34:24 +03:00
f4b18a4eb2
closes #477 - change to preview.hbs to show title as a h1
19 lines
865 B
Handlebars
19 lines
865 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">Joe Bloggs</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> |