This theme update includes a required overhaul of the membership page, due to changes in Ghost v5.
Replace the <div class="container plans mt3">...</div>
between lines 40 and 83 in custom-memberships.hbs
with this:
<div class="container plans mt3">
{{#get "tiers" include="monthly_price,yearly_price,benefits" limit="all" as |tiers|}}
{{#foreach tiers}}
<div class="plan">
<div>
<h2 class="mt0">{{name}}</h2>
<p class="fs18">{{description}}</p>
{{#if benefits}}
<ul class="plan-features color-grey">
{{#foreach benefits as |benefit|}}
<li>{{benefit}}</li>
{{/foreach}}
</ul>
{{/if}}
</div>
<div class="mt2">
{{^if monthly_price}}
{{^if yearly_price}}
<a href="/signup/" class="button button--wide">{{t "Sign up for free"}}</a>
{{/if}}
{{/if}}
<div class="button-flex">
{{#if monthly_price}}
<a href="" class="button" data-portal="signup/{{id}}/monthly" data-members-cancel="{{@custom.members_url}}">
<span class="button-content">{{price monthly_price currency=currency}}{{t "/month"}}</span><span class="button-loader">{{t "Please wait..."}}</span>
</a>
{{/if}}
{{#if yearly_price}}
<a href="" class="button" data-portal="signup/{{id}}/yearly" data-members-cancel="{{@custom.members_url}}">
<span class="button-content">{{price yearly_price currency=currency}}{{t "/year"}}</span><span class="button-loader">{{t "Please wait..."}}</span>
</a>
{{/if}}
</div>
</div>
</div>
{{/foreach}}
{{/get}}
</div>
If you're seeing broken bookmarks on your site, edit package.json
and add the following within the "config" section:
"card_assets": {
"exclude": ["bookmark", "gallery"]
}
Then ZIP and re-upload your theme.