fix: ghost 6 compat, remove limit=all
This commit is contained in:
parent
645c7896fb
commit
ca016828ac
@ -4,7 +4,7 @@
|
||||
</div>
|
||||
<div class="membership-wrap global-radius{{#if feature_image}} global-bg-image" style="background-image: url({{{img_url feature_image size="l" format="webp"}}}){{/if}}">
|
||||
{{#if @site.paid_members_enabled}}
|
||||
<div class="membership-switch" data-active-price="{{@site.portal_default_plan}}" data-active-price-plans="{{@site.portal_plans}}"{{#get "tiers" limit="all" filter="visibility:public+type:paid" as |public_paid_tiers|}} data-active-public-paid-tiers="{{#if public_paid_tiers}}true{{else}}false{{/if}}"{{/get}}>
|
||||
<div class="membership-switch" data-active-price="{{@site.portal_default_plan}}" data-active-price-plans="{{@site.portal_plans}}"{{#get "tiers" filter="visibility:public+type:paid" as |public_paid_tiers|}} data-active-public-paid-tiers="{{#if public_paid_tiers}}true{{else}}false{{/if}}"{{/get}}>
|
||||
<button data-price="monthly">{{t "Monthly"}}</button>
|
||||
<button data-price="yearly">{{t "Yearly"}}</button>
|
||||
</div>
|
||||
@ -36,7 +36,7 @@
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{#if @site.paid_members_enabled}}
|
||||
{{#get "tiers" include="monthly_price,yearly_price,benefits" filter="visibility:public+type:paid" limit="all"}}
|
||||
{{#get "tiers" include="monthly_price,yearly_price,benefits" filter="visibility:public+type:paid"}}
|
||||
{{#foreach tiers}}
|
||||
<div class="membership-card">
|
||||
<div class="membership-card-content">
|
||||
|
@ -3,7 +3,7 @@
|
||||
<div class="post-header-container">
|
||||
<div class="post-header-content">
|
||||
<div>
|
||||
<div class="post-tags global-tags">{{>members/visibility_label}}{{#if tags}}{{tags limit="all" separator=""}}{{/if}}</div>
|
||||
<div class="post-tags global-tags">{{>members/visibility_label}}{{#if tags}}{{tags separator=""}}{{/if}}</div>
|
||||
<h1 class="post-title global-title">{{title}}</h1>
|
||||
{{#if custom_excerpt}}
|
||||
<p class="post-excerpt global-excerpt">{{custom_excerpt}}</p>
|
||||
|
Loading…
Reference in New Issue
Block a user