Ghost/test
Rish 1272968848 Updated {{content}} helper partial template name
no issue
refs e3a0bb535f

Previously, {{content}} helper was updated use default or custom template to show a CTA when trying to use helper without access to content.

While the change was expected to not affect any existing themes as `{{content}}` helper is not supposed to be used on member sites without `access` check, we found quite a few themes use a pattern of using `content.hbs` with `{{content}}` helper inside them as default, which causes infinite loop in how content helper works in certain cases.

Whilst this followed the pattern of the other helpers using a partial with the same name, there are 2 key differences:

- this partial template pattern is being introduced way after the inception of themes with a fairly generic name “content”
- this partial template isn’t used to render the helper all the time - just the CTA part under certain circumstances.

This change updates the template name to `content-cta.hbs` to which makes it less likely to clash, and makes more sense as to what it is.
2021-02-09 13:59:52 +05:30
..
api-acceptance 🏗 Altered slug unique constraint in posts table 2021-02-09 13:31:12 +13:00
frontend-acceptance Enabled Members for all sites (#12582) 2021-02-02 16:12:53 +00:00
regression 🏗 Altered slug unique constraint in posts table 2021-02-09 13:31:12 +13:00
unit Updated {{content}} helper partial template name 2021-02-09 13:59:52 +05:30
utils Removed app related data from fixtures 2021-02-02 16:12:53 +00:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.json Enabled error for "no-shadow" eslint rule 2020-10-27 11:27:37 +13:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00