Ghost/test/unit/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
..
engines Moved frontend unit tests into their own folder 2021-10-06 11:58:29 +01:00
handlebars Moved frontend unit tests into their own folder 2021-10-06 11:58:29 +01:00
active.test.js Moved frontend unit tests into their own folder 2021-10-06 11:58:29 +01:00
config.test.js Added card-asset config with sensible default 2021-11-05 12:20:02 +00:00
i18n.test.js Moved core/shared/i18n to theme-engine/i18n 2021-10-15 20:25:56 +01:00
middleware.test.js Added Offers feature to Ghost 2021-10-22 17:55:34 +02:00
preview.test.js Moved frontend unit tests into their own folder 2021-10-06 11:58:29 +01:00
theme-i18n.test.js Moved core/shared/i18n to theme-engine/i18n 2021-10-15 20:25:56 +01:00