From 20ac61fb15e1d965fb8c2b50f7c9b9052c0c6490 Mon Sep 17 00:00:00 2001 From: Nazar Gargol Date: Wed, 9 Jan 2019 12:14:36 +0000 Subject: [PATCH] Migrated from @blog -> @site no issue - This rename is due to new {{@site}} alias introduced in Ghost (https://github.com/TryGhost/Ghost/commit/dd1cf5ffc7140c81e955c622d8c526daebdec2cc) as {{@blog}} variable is deprecated now, and will be removed in v3 --- default.hbs | 18 +++++++++--------- error.hbs | 4 ++-- index.hbs | 4 ++-- post.hbs | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/default.hbs b/default.hbs index a29e65f0..2b5c65af 100644 --- a/default.hbs +++ b/default.hbs @@ -28,21 +28,21 @@ {{navigation}}
- {{#if @blog.logo}} - + {{#if @site.logo}} + {{else}} - + {{/if}}
@@ -57,7 +57,7 @@ {{!-- The footer at the very bottom of the screen --}} diff --git a/error.hbs b/error.hbs index dfeeee88..3a7c8401 100644 --- a/error.hbs +++ b/error.hbs @@ -3,7 +3,7 @@

{{code}}

{{message}}

- Go to the front page → + Go to the front page →
{{#if errorDetails}} @@ -24,4 +24,4 @@ -{{/if}} \ No newline at end of file +{{/if}} diff --git a/index.hbs b/index.hbs index 09b86b6f..f7eebe48 100644 --- a/index.hbs +++ b/index.hbs @@ -3,9 +3,9 @@ into the {body} of the default.hbs template --}} {{#is "home"}} - {{#if @blog.description}} + {{#if @site.description}}
-

{{@blog.description}}

+

{{@site.description}}

{{/if}} {{/is}} diff --git a/post.hbs b/post.hbs index 3c2a906f..8043c213 100644 --- a/post.hbs +++ b/post.hbs @@ -24,7 +24,7 @@ {{!-- Email subscribe form at the bottom of the page --}} {{#if @labs.subscribers}}
- +

Get the latest posts delivered right to your inbox

{{subscribe_form placeholder="youremail@example.com"}}