Solo: Only show email signup if members are enabled
This commit is contained in:
parent
6fbcbe92fd
commit
0e47375f3d
|
@ -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}}
|
||||||
|
{{#if @site.members_enabled}}
|
||||||
{{#unless @member}}
|
{{#unless @member}}
|
||||||
<div class="gh-subscribe-input" data-portal>
|
<div class="gh-subscribe-input" data-portal>
|
||||||
jamie@example.com
|
jamie@example.com
|
||||||
<span class="gh-btn gh-primary-btn">Subscribe</span>
|
<span class="gh-btn gh-primary-btn">Subscribe</span>
|
||||||
</div>
|
</div>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue