mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
03cbc89a53
closes #1947 - added fieldtype: medium for posts.html - changed fieldtype: medium for posts.markdown - added method to fix databases created with wrong field type - added tests for database version 002
80 lines
1.8 KiB
JSON
80 lines
1.8 KiB
JSON
{
|
|
"core": {
|
|
"databaseVersion": {
|
|
"defaultValue": "002"
|
|
},
|
|
"dbHash": {
|
|
"defaultValue": null
|
|
},
|
|
"nextUpdateCheck": {
|
|
"defaultValue": null
|
|
},
|
|
"displayUpdateNotification": {
|
|
"defaultValue": false
|
|
}
|
|
},
|
|
"blog": {
|
|
"title": {
|
|
"defaultValue": "Ghost"
|
|
},
|
|
"description": {
|
|
"defaultValue": "Just a blogging platform."
|
|
},
|
|
"email": {
|
|
"defaultValue": "ghost@example.com",
|
|
"validations": {
|
|
"notNull": true,
|
|
"isEmail": true
|
|
}
|
|
},
|
|
"logo": {
|
|
"defaultValue": ""
|
|
},
|
|
"cover": {
|
|
"defaultValue": ""
|
|
},
|
|
"defaultLang": {
|
|
"defaultValue": "en_US",
|
|
"validations": {
|
|
"notNull": true
|
|
}
|
|
},
|
|
"postsPerPage": {
|
|
"defaultValue": "6",
|
|
"validations": {
|
|
"notNull": true,
|
|
"isInt": true,
|
|
"max": 1000
|
|
}
|
|
},
|
|
"forceI18n": {
|
|
"defaultValue": "true",
|
|
"validations": {
|
|
"notNull": true,
|
|
"isIn": ["true", "false"]
|
|
}
|
|
},
|
|
"permalinks": {
|
|
"defaultValue": "/:slug/",
|
|
"validations": {
|
|
"is": "^(/:?[a-z]+){1,}/$",
|
|
"regex": "(:id|:slug)",
|
|
"notContains": "/ghost/"
|
|
}
|
|
}
|
|
},
|
|
"theme": {
|
|
"activeTheme": {
|
|
"defaultValue": "casper"
|
|
}
|
|
},
|
|
"plugin": {
|
|
"activePlugins": {
|
|
"defaultValue": "[]"
|
|
},
|
|
"installedPlugins": {
|
|
"defaultValue": "[]"
|
|
}
|
|
}
|
|
}
|