0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/test/unit/frontend/services/theme-engine
Rishabh 665c30f255 Added new {{tiers}} theme helper
refs https://github.com/TryGhost/Team/issues/1004

- adds new `{{tiers}}` helper behind `multipleProducts` flag
- `{{tiers}}` outputs a string with list of tiers that have access to specific post when used in a post context in theme
- outputs empty string when used out of a post context and without access to `visibility` property
- uses tiers attached to post column for data
2022-03-04 18:22:59 +05:30
..
engines
handlebars Added new {{tiers}} theme helper 2022-03-04 18:22:59 +05:30
active.test.js
config.test.js Added card-asset config with sensible default 2021-11-05 12:20:02 +00:00
i18n.test.js
middleware.test.js Cleaned up customThemeSettings labs flag 2022-01-03 17:45:25 +00:00
preview.test.js
theme-i18n.test.js