mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Closes #5450 - No longer provide the edit route a model when transitioning from the posts list/content screen and no longer check to see if a copy of the post already exists in the store from the model hook.
10 lines
407 B
Handlebars
10 lines
407 B
Handlebars
<section class="post-controls">
|
|
{{#link-to "editor.edit" model.id class="btn btn-minor post-edit"}}<i class="icon-edit"></i>{{/link-to}}
|
|
</section>
|
|
|
|
{{#view "content-preview-content-view" tagName="section"}}
|
|
<div class="wrapper">
|
|
<h1 class="content-preview-title">{{#link-to "editor.edit" model.id}}{{model.title}}{{/link-to}}</h1>
|
|
{{gh-format-html model.html}}
|
|
</div>
|
|
{{/view}}
|