Solo: Only show email signup if members are enabled

This commit is contained in:
shelby spees 2022-10-19 12:31:05 -07:00 committed by Sodbileg Gansukh
parent 6fbcbe92fd
commit 0e47375f3d
1 changed files with 9 additions and 7 deletions

View File

@ -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>