Solo: Only show email signup if members are enabled
This commit is contained in:
parent
6fbcbe92fd
commit
0e47375f3d
16
index.hbs
16
index.hbs
|
@ -32,12 +32,14 @@
|
||||||
{{#if @custom.secondary_header}}
|
{{#if @custom.secondary_header}}
|
||||||
<p class="gh-about-secondary">{{{@custom.secondary_header}}}</p>
|
<p class="gh-about-secondary">{{{@custom.secondary_header}}}</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#unless @member}}
|
{{#if @site.members_enabled}}
|
||||||
<div class="gh-subscribe-input" data-portal>
|
{{#unless @member}}
|
||||||
jamie@example.com
|
<div class="gh-subscribe-input" data-portal>
|
||||||
<span class="gh-btn gh-primary-btn">Subscribe</span>
|
jamie@example.com
|
||||||
</div>
|
<span class="gh-btn gh-primary-btn">Subscribe</span>
|
||||||
{{/unless}}
|
</div>
|
||||||
|
{{/unless}}
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -51,4 +53,4 @@
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
{{#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}}
|
{{#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}}
|
||||||
|
|
Loading…
Reference in New Issue