Ghost/ghost/admin/templates/posts/post.hbs
Matt Enlow f0283ddb5a Refactored Editor Routing
- Moved `new` route into `editor` resource (`editor.new`)
- Moved the current editor controller, view, and route to `editor.edit`
- Added `editor.index`, which automatically transitions into `editor.new`
- Moved controllers, views, templates, and routes to match new router config. Also changed links to `editor` into `editor.new` and `editor.edit` as appropriate.
2014-06-11 12:18:44 -06:00

22 lines
517 B
Handlebars

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