From 49cedae45aab151a355d975d2d2921e2daf37ee1 Mon Sep 17 00:00:00 2001 From: Rory Gibson Date: Sun, 23 Jul 2017 00:04:50 +0300 Subject: Fix issues for Ghost 1.0 compatibility --- author.hbs | 4 ++-- default.hbs | 1 - package.json | 10 ++++++++-- page.hbs | 4 ++-- partials/post-content.hbs | 4 ++-- 5 files changed, 14 insertions(+), 9 deletions(-) diff --git a/author.hbs b/author.hbs index e162159..1ad8572 100644 --- a/author.hbs +++ b/author.hbs @@ -4,8 +4,8 @@
{{#author}}
- {{#if image}} - {{name}} + {{#if profile_image}} + {{name}} {{/if}}

{{name}}

diff --git a/default.hbs b/default.hbs index e6fa2d3..580c687 100644 --- a/default.hbs +++ b/default.hbs @@ -7,7 +7,6 @@ {{! Page Meta }} {{meta_title}} - diff --git a/package.json b/package.json index 1189ef3..5269755 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,10 @@ { - "name": "Ghostwriter", - "version": "1.9.3" + "name": "ghostwriter", + "version": "1.9.3", + "author": { + "email": "rg.rorygibson+ghost@gmail.com" + }, + "config": { + "posts_per_page": 5 + } } \ No newline at end of file diff --git a/page.hbs b/page.hbs index 7c30ba8..97d3717 100644 --- a/page.hbs +++ b/page.hbs @@ -10,8 +10,8 @@
- {{#if image}} - + {{#if feature_image}} + {{/if}} {{! No indention to prevent handlebars indenting
 tag content}}               
diff --git a/partials/post-content.hbs b/partials/post-content.hbs
index 3f1c6ef..66cdc2e 100644
--- a/partials/post-content.hbs
+++ b/partials/post-content.hbs
@@ -6,8 +6,8 @@
     
 
     
- {{#if image}} - + {{#if feature_image}} + {{/if}} {{{content}}} -- cgit v1.2.3