Ghost/core/server/data/default-settings.json
Sebastian Gierlinger 03cbc89a53 Fix posts.html and posts.markdown field type
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
2014-01-15 14:29:23 +01:00

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": "[]"
}
}
}