mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
3fdf5adbfd
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 |
||
---|---|---|
.. | ||
content | ||
core | ||
test | ||
.c8rc.e2e.json | ||
.c8rc.json | ||
.eslintignore | ||
.eslintrc.js | ||
.npmignore | ||
config.development.json | ||
ghost.js | ||
index.js | ||
jsconfig.json | ||
loggingrc.js | ||
MigratorConfig.js | ||
package.json | ||
playwright.config.js |