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}}
{{#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>