mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
26199e56fa
closes #2904 - The `posts/post` template now takes its HTML from the post model instead of using the editor's markdown component
21 lines
480 B
Handlebars
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}}
|