fix: ghost 6 compat, remove limit=all

This commit is contained in:
Tom Vines 2025-08-05 14:24:48 +10:00
parent 645c7896fb
commit ca016828ac
Signed by: dragonwocky
SSH Key Fingerprint: SHA256:vCxDSu/DvGebbNiQjCVzOuxKmT8ODOzaLx+dTRtawyk
2 changed files with 3 additions and 3 deletions

View File

@ -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">

View File

@ -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>