I’m looking to change the functions after a member is logged in (using Penang theme).
When a logged in member goes to the “Account” tab it shows the message below and the “Subscribe Now” button then leads to a “Choose your subscription” page with pricing options.
We will only ever have free content, so I want to get rid of this message and button entirely. I tried changing this here from:
<h1 class='c-archive__title'>{{t "You're a subscriber to free members updates"}}</h1>
<p class='c-archive__description'>{{t "You are subscribed to free updates from {siteTitle}, but don't have a paid subscription to read all the posts." siteTitle=@site.title}}</p>
<hr>
<p><a class='c-btn c-btn--action' href='/signup/'>{{t 'Subscribe Now'}}</a></p>
to
<h1 class='c-archive__title'>{{t "You're a subscriber to free updates"}}</h1>
<p class='c-archive__description'>{{t "Thanks for becoming a member of {siteTitle} 🎉}}</p>
</div>
But when uploading the zip on the site I got this error message about an invalid handlebar:
-
default.hbs
: Parse error on line 26: …a> {{else}} ----------------------^ Expecting ‘OPEN_ENDBLOCK’, got ‘INVERSE’
Anyone else have suggestions for how to keep member functionality but get rid of payment and subscription options?