Ghost/ghost/core/test/unit/frontend
Kevin Ansfield 3fdf5adbfd
Moved show_title_and_feature_image to @page.show_title_and_feature_image (#17353)
no issue

- updated frontend's `formatResponse` method to add `@page` to the local template data
  - added here because it's the first place we have both context and page data available
  - makes the property available outside of the page context so it can be used to modify layouts
- updated `prepareContextResource()` to delete `show_title_and_feature_image`
  - ensures `@page.show_title_and_feature_image` is the only way of accessing that property
  - method is used when rendering multiple entries so it also prevents differences in context data between looped pages and single pages
2023-07-13 14:26:33 +00:00
..
apps Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
helpers Added Playwright tests to comments-ui 2023-06-22 15:06:13 +02:00
meta Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
services Moved show_title_and_feature_image to @page.show_title_and_feature_image (#17353) 2023-07-13 14:26:33 +00:00
utils Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
web/middleware Corrected image CORS (#17119) 2023-06-23 14:33:00 +02:00