diff --git a/core/client/templates/-floating-header.hbs b/core/client/templates/-floating-header.hbs deleted file mode 100644 index 573a311908..0000000000 --- a/core/client/templates/-floating-header.hbs +++ /dev/null @@ -1,22 +0,0 @@ -
- - - - {{#if isPublished}}Published{{else}}Written{{/if}} - by - {{#if author.name}}{{author.name}}{{else}}{{author.email}}{{/if}} - -
- {{#link-to "editor.edit" this class="post-edit" title="Edit Post"}} - - {{/link-to}} - {{#gh-popover-button popoverName="post-settings-menu" classNames="post-settings" title="Post Settings"}} - - {{/gh-popover-button}} - {{#gh-popover name="post-settings-menu" classNames="post-settings-menu menu-drop-right"}} - {{render "post-settings-menu" model}} - {{/gh-popover}} -
-
diff --git a/core/client/templates/editor/edit.hbs b/core/client/templates/editor/edit.hbs index 1f5be1b2bd..51928ddb58 100644 --- a/core/client/templates/editor/edit.hbs +++ b/core/client/templates/editor/edit.hbs @@ -1,6 +1,6 @@
diff --git a/core/client/templates/posts.hbs b/core/client/templates/posts.hbs index cd098172a8..e9caf0dfc7 100644 --- a/core/client/templates/posts.hbs +++ b/core/client/templates/posts.hbs @@ -1,6 +1,6 @@
diff --git a/core/client/templates/posts/post.hbs b/core/client/templates/posts/post.hbs index c396441bc4..89e8cd2329 100644 --- a/core/client/templates/posts/post.hbs +++ b/core/client/templates/posts/post.hbs @@ -1,4 +1,17 @@ -{{partial "floating-header"}} +
+ + + + {{#if isPublished}}Published{{else}}Written{{/if}} + by + {{#if author.name}}{{author.name}}{{else}}{{author.email}}{{/if}} + +
+ {{#link-to "editor.edit" this class="btn btn-default post-edit"}} Edit{{/link-to}} +
+
{{#view "content-preview-content-view" tagName="section"}}
diff --git a/core/server/views/default.hbs b/core/server/views/default.hbs index 13e513c205..9ae693a4ac 100644 --- a/core/server/views/default.hbs +++ b/core/server/views/default.hbs @@ -37,4 +37,4 @@ {{{ghost_script_tags}}} - + \ No newline at end of file