From da7c113ef934c4b412bcfdebb042bb9a7010f385 Mon Sep 17 00:00:00 2001 From: Rajiv Shah Date: Sat, 9 Oct 2021 07:50:44 -0400 Subject: [PATCH] Hide subscription button and form if Members feature is disabled (#375) --- index.hbs | 2 ++ post.hbs | 2 ++ src/docker-compose.yml | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/index.hbs b/index.hbs index e3c5b7c..f2e0046 100644 --- a/index.hbs +++ b/index.hbs @@ -31,7 +31,9 @@ into the {body} of the default.hbs template --}} {{#if @site.description}}

{{@site.description}}

{{/if}} + {{#if @labs.members}} {{t "Subscribe"}} + {{/if}}
diff --git a/post.hbs b/post.hbs index b6380c2..990483e 100644 --- a/post.hbs +++ b/post.hbs @@ -84,6 +84,7 @@ into the {body} of the default.hbs template --}}
{{!-- Email subscribe form at the bottom of the page --}} + {{#if @labs.members}}
+ {{/if}}
diff --git a/src/docker-compose.yml b/src/docker-compose.yml index 1e689f5..87b0e9d 100644 --- a/src/docker-compose.yml +++ b/src/docker-compose.yml @@ -2,7 +2,7 @@ version: '3' services: ghost: - image: ghost:4.3.3 + image: ghost:4.4.0 container_name: ghost volumes: - ./..:/var/lib/ghost/content/themes/liebling:Z