0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/frontend/services/theme-engine/middleware/index.js
Hannah Wolfe 9f11140ec4
Split theme engine middleware into separate files
- one big file full of stuff is never good for clarity
- separating it out helps us see what requires what
- it also highlights the awful naming and opaque behaviour we have in themes - much to do, but this helps us start
2021-12-01 12:04:36 +00:00

6 lines
201 B
JavaScript

module.exports = [
require('./ensure-active-theme'),
require('./update-global-template-options'),
require('./update-local-template-data'),
require('./update-local-template-options')
];