Ghost/core/frontend/services/theme-engine/handlebars
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
..
helpers.js Added beta {{products}} helper for tiers list on post (#13267) 2021-09-10 09:30:41 +05:30
register.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
template.js Removed i18n from frontend theme code 2021-07-07 11:32:02 +01:00
utils.js Moved handlebars utils to new theme engine service 2021-04-21 14:21:32 +01:00