0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/templates/posts/post.hbs
David Arvelo 26199e56fa Fix HTML preview rendering on the main screen
closes #2904
- The `posts/post` template now takes its HTML from the post model instead of using the editor's markdown component
2014-06-07 14:19:42 -04:00

21 lines
480 B
Handlebars

{{#if title}}
{{partial "floating-header"}}
<section class="content-preview-content">
<div class="wrapper">
<h1>{{{title}}}</h1>
{{{html}}}
</div>
</section>
{{else}}
<div class="no-posts-box">
<div class="no-posts">
<h3>You Haven't Written Any Posts Yet!</h3>
{{#link-to "new"}}<button class="button-add large" title="New Post">Write a new Post</button>{{/link-to}}
</div>
</div>
{{/if}}