mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 22:44:07 +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 |
||
---|---|---|
.. | ||
apps | ||
helpers | ||
meta | ||
services | ||
utils | ||
web/middleware |