[Solo] Moved the secondary header inside the member check (#395)

no issues

- moved the secondary header inside the {{#unless @member}} block so it isn't displayed when when logged in as a member
This commit is contained in:
jonhickman 2025-03-06 08:15:56 +00:00 committed by GitHub
parent 5ef85e00fe
commit bdf99841f0

View File

@ -29,11 +29,11 @@
{{#if @custom.primary_header}}
<h1 class="gh-about-primary">{{{@custom.primary_header}}}</h1>
{{/if}}
{{#if @custom.secondary_header}}
<p class="gh-about-secondary">{{{@custom.secondary_header}}}</p>
{{/if}}
{{#if @site.members_enabled}}
{{#unless @member}}
{{#if @custom.secondary_header}}
<p class="gh-about-secondary">{{{@custom.secondary_header}}}</p>
{{/if}}
<div class="gh-subscribe-input" data-portal>
jamie@example.com
<span class="gh-btn gh-primary-btn">Subscribe</span>