0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/frontend/helpers/tpl
Rishabh Garg 2272f84cc9
Added beta {{products}} helper for tiers list on post (#13267)
refs https://github.com/TryGhost/Team/issues/1004

- adds new `{{products}}` helper behind `multipleProducts` flag
- `{{products}}` outputs a string with list of products 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 all available posts for a site via the global products data
- updates {{content}} helper cta to use this new helper to show list of tiers with access to post
2021-09-10 09:30:41 +05:30
..
cancel_link.hbs
content-cta.hbs Added beta {{products}} helper for tiers list on post (#13267) 2021-09-10 09:30:41 +05:30
navigation.hbs
pagination.hbs
styles.js Added default CTA to content helper (#12157) 2020-09-08 12:49:36 +05:30