0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/test/unit/frontend
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
..
apps Moved URL service to backend 2021-10-19 07:29:09 +13:00
helpers 🐛 Fixed broken assets for theme/design preview 2021-11-03 11:20:04 +01:00
meta Added fallbacks when the site title is undefined 2021-10-27 12:18:57 +02:00
services Added card-asset config with sensible default 2021-11-05 12:20:02 +00:00
web/middleware Ensured nonexistant public files fallback to 404 2021-11-05 09:13:23 +00:00