mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 09:52:09 +03:00
f478e4f9c8
refs https://github.com/TryGhost/Ghost/issues/8859 There are four cases: - unsplash setting is empty (default), admin can enable the app by default (hardcoded isActive:true) - unsplash settings are set, unsplash is disabled, admin detects that app was disabled on purpose - unsplash setting is set, unsplash is enabled and has a key, app is enabled, old key get's ignored and overridden on the next save - unsplash setting is set, unsplash is enabled and has no key, app is enabled
110 lines
2.7 KiB
JSON
110 lines
2.7 KiB
JSON
{
|
|
"core": {
|
|
"db_hash": {
|
|
"defaultValue": null
|
|
},
|
|
"next_update_check": {
|
|
"defaultValue": null
|
|
},
|
|
"display_update_notification": {
|
|
"defaultValue": null
|
|
},
|
|
"seen_notifications": {
|
|
"defaultValue": "[]"
|
|
}
|
|
},
|
|
"blog": {
|
|
"title": {
|
|
"defaultValue": "Ghost"
|
|
},
|
|
"description": {
|
|
"defaultValue": "The professional publishing platform"
|
|
},
|
|
"logo": {
|
|
"defaultValue": "https://casper.ghost.org/v1.0.0/images/ghost-logo.svg"
|
|
},
|
|
"cover_image": {
|
|
"defaultValue": "https://casper.ghost.org/v1.0.0/images/blog-cover.jpg"
|
|
},
|
|
"icon": {
|
|
"defaultValue": ""
|
|
},
|
|
"default_locale": {
|
|
"defaultValue": "en",
|
|
"validations": {
|
|
"isEmpty": false
|
|
}
|
|
},
|
|
"active_timezone": {
|
|
"defaultValue": "Etc/UTC",
|
|
"validations": {
|
|
"isTimezone": true,
|
|
"isEmpty": false
|
|
}
|
|
},
|
|
"force_i18n": {
|
|
"defaultValue": "true",
|
|
"validations": {
|
|
"isEmpty": false,
|
|
"isIn": [["true", "false"]]
|
|
}
|
|
},
|
|
"permalinks": {
|
|
"defaultValue": "/:slug/",
|
|
"validations": {
|
|
"matches": "^(\/:?[a-z0-9_-]+){1,5}\/$",
|
|
"matches": "(:id|:slug|:year|:month|:day|:author|:primary_tag)",
|
|
"notContains": "/ghost/"
|
|
}
|
|
},
|
|
"amp": {
|
|
"defaultValue" : "true"
|
|
},
|
|
"ghost_head": {
|
|
"defaultValue" : ""
|
|
},
|
|
"ghost_foot": {
|
|
"defaultValue" : ""
|
|
},
|
|
"facebook": {
|
|
"defaultValue" : ""
|
|
},
|
|
"twitter": {
|
|
"defaultValue" : ""
|
|
},
|
|
"labs": {
|
|
"defaultValue": "{\"publicAPI\": true}"
|
|
},
|
|
"navigation": {
|
|
"defaultValue": "[{\"label\":\"Home\", \"url\":\"/\"}]"
|
|
},
|
|
"slack": {
|
|
"defaultValue": "[{\"url\":\"\"}]"
|
|
},
|
|
"unsplash": {
|
|
"defaultValue": "{\"isActive\": true}"
|
|
}
|
|
},
|
|
"theme": {
|
|
"active_theme": {
|
|
"defaultValue": "casper"
|
|
}
|
|
},
|
|
"app": {
|
|
"active_apps": {
|
|
"defaultValue": "[]"
|
|
},
|
|
"installed_apps": {
|
|
"defaultValue": "[]"
|
|
}
|
|
},
|
|
"private": {
|
|
"is_private": {
|
|
"defaultValue": "false"
|
|
},
|
|
"password": {
|
|
"defaultValue": ""
|
|
}
|
|
}
|
|
}
|