From: Neil Smith Date: Wed, 15 Jun 2022 10:46:49 +0000 (+0100) Subject: Updated for Ghost 5 X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=f3822ef232c095a96d89def7bab5b851ec5e1b04;p=ghost-theme-work.git Updated for Ghost 5 --- diff --git a/amp.hbs b/amp.hbs index a7da389..2b01390 100644 --- a/amp.hbs +++ b/amp.hbs @@ -844,7 +844,7 @@ {{#post}}
@@ -873,7 +873,7 @@ {{/post}} diff --git a/default.hbs b/default.hbs index 5d9c55e..47bfa96 100644 --- a/default.hbs +++ b/default.hbs @@ -1,5 +1,5 @@ - + {{> theme_head}} diff --git a/error.hbs b/error.hbs index ff5f01a..3503f29 100644 --- a/error.hbs +++ b/error.hbs @@ -8,13 +8,13 @@

Stack Trace

{{message}}

{{/if}} diff --git a/package.json b/package.json index 5d5abe9..c94b02a 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,7 @@ "version": "2.0.1", "license": "GNU General Public License, Version 2", "engines": { - "ghost": ">=2.0.0", - "ghost-api": "v2" + "ghost": ">=2.0.0" }, "author": { "name": "Haunted Themes", diff --git a/partials/theme_footer.hbs b/partials/theme_footer.hbs index 39885a8..982345c 100644 --- a/partials/theme_footer.hbs +++ b/partials/theme_footer.hbs @@ -23,13 +23,13 @@ {{/if}}
- {{#if @blog.facebook}} - + {{#if @site.facebook}} + {{/if}} - {{#if @blog.twitter}} - + {{#if @site.twitter}} + {{/if}}
- + \ No newline at end of file diff --git a/partials/theme_header.hbs b/partials/theme_header.hbs index 16b4e67..901262b 100644 --- a/partials/theme_header.hbs +++ b/partials/theme_header.hbs @@ -1,8 +1,8 @@
diff --git a/subscribe.hbs b/subscribe.hbs index b3643f9..35c5bda 100644 --- a/subscribe.hbs +++ b/subscribe.hbs @@ -1,5 +1,5 @@ - + {{> theme_head}} @@ -12,7 +12,7 @@
- +
@@ -20,7 +20,7 @@

{{^if success}} - {{t "Subscribe to {blogtitle}" blogtitle=@blog.title}} + {{t "Subscribe to {blogtitle}" blogtitle=@site.title}} {{else}} {{t "Subscribed!"}} {{/if}} @@ -36,7 +36,7 @@ }} {{else}}

- {{t "You've successfully subscribed to"}} {{@blog.title}} + {{t "You've successfully subscribed to"}} {{@site.title}} {{t "with the email address"}} {{email}}.

{{/if}} @@ -45,14 +45,14 @@ {{!-- Ghost Content API --}}