Ghost/ghost/core
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
..
content 🎨 Updated Casper to v5.5.3 2023-07-07 16:05:47 +00:00
core Moved show_title_and_feature_image to @page.show_title_and_feature_image (#17353) 2023-07-13 14:26:33 +00:00
test Moved show_title_and_feature_image to @page.show_title_and_feature_image (#17353) 2023-07-13 14:26:33 +00:00
.c8rc.e2e.json Split CI database tests into separate types 2023-05-22 19:34:17 +02:00
.c8rc.json Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
.eslintignore Updated .eslintignore list for core 2022-10-10 15:12:52 +07:00
.eslintrc.js Updated linting and migration comment to improve practices 2023-06-26 15:29:37 +02:00
.npmignore Updated .npmignore with new files 2022-11-30 12:40:47 +07:00
config.development.json Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
ghost.js Added browser-based testing framework 2022-11-22 14:12:34 +00:00
index.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
jsconfig.json Deleted reference to core/admin 2022-08-03 16:28:41 +02:00
loggingrc.js Added version information to log lines 2023-01-20 13:18:44 +01:00
MigratorConfig.js Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
package.json Update sentry-javascript monorepo to v7.58.1 2023-07-13 15:08:54 +02:00
playwright.config.js Separated admin and portal tests to different projects 2023-03-16 18:35:09 +04:00