Update index.hbs

Move the secondary header (default value is CTA text) inside the `{{#unless @member}}` block so it doesn't show up when logged in
This commit is contained in:
jonhickman 2025-03-06 07:57:08 +00:00 committed by GitHub
parent 5ef85e00fe
commit e737876c77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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>