Ghost/core/frontend/services/theme-engine
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
..
config Moved theme config to new theme engine service 2021-04-21 14:21:32 +01:00
engines Moved theme engines to new theme engine service 2021-04-22 21:05:01 +01:00
handlebars Added beta {{products}} helper for tiers list on post (#13267) 2021-09-10 09:30:41 +05:30
i18n Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
active.js Removed passing of error to active theme 2021-07-07 14:38:08 +01:00
engine.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
index.js Moved activate from themes to the bridge 2021-04-27 13:52:19 +01:00
middleware.js Made a single request for products in theme middleware 2021-07-21 12:50:21 +01:00
preview.js Moved theme preview mw to new theme engine service 2021-04-24 19:56:00 +01:00