Ghost/core/frontend/services/theme-engine
Hannah Wolfe e25f1df0ae
Added card-asset config with sensible default
- This comment removes the block on themes controlling card assets via config
- It also changes the default behaviour from "false" config (doing nothing) to excluding bookmark and gallery card assets
- This is essentially the same thing, as only bookmark and gallery card assets exist at the moment, but it's being done because it makes this feature future-proof for all theme developers.
- As we add new cards, all themes will automatically get the assets to make them work
- As theme developers want to, they can create their own custom assets and disble assets for any cards they support by adding them to the exclude list
- They can also remove any custom code they currently have to support bookmark and gallery cards, and set card_assets: true in package.json to use the defaults instead
2021-11-05 12:20:02 +00:00
..
config Added card-asset config with sensible default 2021-11-05 12:20:02 +00:00
engines Moved theme engines to new theme engine service 2021-04-22 21:05:01 +01:00
handlebars Refactored helper registration code into a service 2021-10-05 10:04:02 +01:00
i18n Moved core/shared/i18n to theme-engine/i18n 2021-10-15 20:25:56 +01:00
active.js Removed passing of error to active theme 2021-07-07 14:38:08 +01:00
engine.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
index.js Refactored helper registration code into a service 2021-10-05 10:04:02 +01:00
middleware.js Allowed custom theme settings to be passed through preview data 2021-09-30 13:23:39 +01:00
preview.js Added description to allowed preview params 2021-09-30 14:07:28 +01:00