From 0e47375f3d3d81cf26d4dcc4909724e79842d31c Mon Sep 17 00:00:00 2001 From: shelby spees Date: Wed, 19 Oct 2022 12:31:05 -0700 Subject: [PATCH] Solo: Only show email signup if members are enabled --- index.hbs | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/index.hbs b/index.hbs index 429bd883..603adb23 100644 --- a/index.hbs +++ b/index.hbs @@ -32,12 +32,14 @@ {{#if @custom.secondary_header}}

{{{@custom.secondary_header}}}

{{/if}} - {{#unless @member}} -
- jamie@example.com - Subscribe -
- {{/unless}} + {{#if @site.members_enabled}} + {{#unless @member}} +
+ jamie@example.com + Subscribe +
+ {{/unless}} + {{/if}} @@ -51,4 +53,4 @@ -{{#contentFor "body_class"}}{{#match @custom.header_section_layout "Side by side"}} has-side-about{{/match}}{{#match @custom.header_section_layout "Large background"}}{{#if @site.cover_image}} is-head-transparent has-background-about{{else}} has-side-about{{/if}}{{/match}}{{#match @custom.header_section_layout "Typographic profile"}}{{#if @site.icon}} has-typographic-about{{else}} has-side-about{{/if}}{{/match}}{{/contentFor}} \ No newline at end of file +{{#contentFor "body_class"}}{{#match @custom.header_section_layout "Side by side"}} has-side-about{{/match}}{{#match @custom.header_section_layout "Large background"}}{{#if @site.cover_image}} is-head-transparent has-background-about{{else}} has-side-about{{/if}}{{/match}}{{#match @custom.header_section_layout "Typographic profile"}}{{#if @site.icon}} has-typographic-about{{else}} has-side-about{{/if}}{{/match}}{{/contentFor}}