From b59893091c93c1a734f30b67ea64afc964e31077 Mon Sep 17 00:00:00 2001 From: Naz Date: Mon, 1 Mar 2021 19:41:30 +1300 Subject: [PATCH] Removed conditions which used @labs.members helper refs https://github.com/TryGhost/Team/issues/332 refs https://github.com/TryGhost/gscan/commit/870a09b109a2747b9fd570f49df88f0d4c457d91 - The {{@labs.members}} always evaluates to "true" starting with Ghost 4.0 and will be "null" coercing to "false" starting Ghost 5.0 - Enabled all conditionals be default to pass the build in main Ghost repository. These changes should be reviewed - special attentio to the left out RSS feed which was surrounded with {{unless @labs.members}} condition --- default.hbs | 2 -- partials/site-nav.hbs | 17 +++++++---------- post.hbs | 4 +--- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/default.hbs b/default.hbs index 456e676..366a7e3 100644 --- a/default.hbs +++ b/default.hbs @@ -49,7 +49,6 @@ {{!-- The big email subscribe modal content --}} - {{#if @labs.members}}
You've successfully subscribed to {{@site.title}}! @@ -58,7 +57,6 @@ Could not sign up! Invalid sign up link.
- {{/if}} {{!-- jQuery, required for fitvids --}}