70b205618f
no issue - adds a set of hardcoded "content image sizes" to the base config - adjusts `handle-image-sizes` middleware to always allow the hardcoded content image sizes to be genreated - updates `@tryghost/kg-card-factory` to allow passthrough of options to card renderers - updates `@tryghost/kg-default-cards` to add `srcset` output for image and gallery cards
88 lines
2.9 KiB
JSON
88 lines
2.9 KiB
JSON
{
|
|
"paths": {
|
|
"appRoot": ".",
|
|
"corePath": "core/",
|
|
"clientAssets": "core/built/assets",
|
|
"helperTemplates": "core/frontend/helpers/tpl/",
|
|
"adminViews": "core/server/web/admin/views/",
|
|
"defaultViews": "core/server/views/",
|
|
"defaultSettings": "core/frontend/services/settings/",
|
|
"internalAppPath": "core/frontend/apps/",
|
|
"internalAdaptersPath": "core/server/adapters/",
|
|
"migrationPath": "core/server/data/migrations",
|
|
"publicFilePath": "core/server/public"
|
|
},
|
|
"apps": {
|
|
"internal": [
|
|
"private-blogging",
|
|
"amp"
|
|
]
|
|
},
|
|
"slugs": {
|
|
"protected": ["ghost", "rss", "amp"]
|
|
},
|
|
"uploads": {
|
|
"members": {
|
|
"extensions": [".csv"],
|
|
"contentTypes": ["text/csv", "application/csv", "application/octet-stream", "application/vnd.ms-excel"]
|
|
},
|
|
"images": {
|
|
"extensions": [".jpg", ".jpeg", ".gif", ".png", ".svg", ".svgz", ".ico"],
|
|
"contentTypes": ["image/jpeg", "image/png", "image/gif", "image/svg+xml", "image/x-icon", "image/vnd.microsoft.icon"]
|
|
},
|
|
"icons": {
|
|
"extensions": [".png", ".ico"],
|
|
"contentTypes": ["image/png", "image/x-icon", "image/vnd.microsoft.icon"]
|
|
},
|
|
"db": {
|
|
"extensions": [".json", ".zip"],
|
|
"contentTypes": ["text/plain", "application/octet-stream", "application/json", "application/zip", "application/x-zip-compressed"]
|
|
},
|
|
"themes": {
|
|
"extensions": [".zip"],
|
|
"contentTypes": ["application/zip", "application/x-zip-compressed", "application/octet-stream"]
|
|
},
|
|
"redirects": {
|
|
"extensions": [".json"],
|
|
"contentTypes": ["text/plain", "application/octet-stream", "application/json"]
|
|
},
|
|
"routes": {
|
|
"extensions": [".yaml"],
|
|
"contentTypes": ["text/plain", "text/yaml", "application/octet-stream", "application/yaml", "application/x-yaml"]
|
|
}
|
|
},
|
|
"times": {
|
|
"cannotScheduleAPostBeforeInMinutes": 2,
|
|
"publishAPostBySchedulerToleranceInMinutes": 2,
|
|
"getImageSizeTimeoutInMS": 5000
|
|
},
|
|
"maintenance": {
|
|
"enabled": false
|
|
},
|
|
"api": {
|
|
"versions": {
|
|
"all": ["v2", "v3", "canary"],
|
|
"canary": {
|
|
"admin": "canary/admin",
|
|
"content": "canary/content"
|
|
},
|
|
"v3": {
|
|
"admin": "v3/admin",
|
|
"content": "v3/content"
|
|
},
|
|
"v2": {
|
|
"admin": "v2/admin",
|
|
"content": "v2/content"
|
|
}
|
|
}
|
|
},
|
|
"imageOptimization": {
|
|
"contentImageSizes": {
|
|
"w600": {"width": 600},
|
|
"w1000": {"width": 1000},
|
|
"w1600": {"width": 1600},
|
|
"w2400": {"width": 2400}
|
|
}
|
|
}
|
|
}
|