From 5f0749639ca916108518873353bb459e80423f9a Mon Sep 17 00:00:00 2001 From: Nazar Gargol Date: Tue, 8 Jan 2019 17:47:09 +0000 Subject: [PATCH] Migrated from @blog -> @site no issue - This rename is due to new {{@site}} alias introduced in Ghost (TryGhost/Ghost@dd1cf5f) as {{@blog}} variable is deprecated now, and will be removed in v3 --- default.hbs | 16 ++++++++-------- error.hbs | 18 +++++++++--------- partials/sidebar.hbs | 6 +++--- post.hbs | 4 ++-- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/default.hbs b/default.hbs index 25b1d24..1351468 100644 --- a/default.hbs +++ b/default.hbs @@ -26,19 +26,19 @@ {{!-- Header --}} diff --git a/error.hbs b/error.hbs index b968f98..d753219 100644 --- a/error.hbs +++ b/error.hbs @@ -20,19 +20,19 @@ You'll notice that we *don't* use any JavsScript, or ghost_head / ghost_foot in
@@ -42,7 +42,7 @@ You'll notice that we *don't* use any JavsScript, or ghost_head / ghost_foot in

{{code}}

{{message}}

- Go to the front page → + Go to the front page →
{{#if errorDetails}} diff --git a/partials/sidebar.hbs b/partials/sidebar.hbs index fc7b7de..b975148 100644 --- a/partials/sidebar.hbs +++ b/partials/sidebar.hbs @@ -2,7 +2,7 @@
{{!-- Nav - partials/navigation.hbs --}} - {{#if @blog.navigation}} + {{#if @site.navigation}} {{navigation}} {{/if}} @@ -40,9 +40,9 @@ {{!-- Footer --}}
-
-
\ No newline at end of file + diff --git a/post.hbs b/post.hbs index 235749c..a045271 100644 --- a/post.hbs +++ b/post.hbs @@ -25,7 +25,7 @@ into the {body} of the default.hbs template --}} {{!-- 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"}}
@@ -72,4 +72,4 @@ into the {body} of the default.hbs template --}} var ratio = width / height; container.style.flex = ratio + ' 1 0%'; }) - \ No newline at end of file + -- 2.34.1