Ghost/core/server/data/default-settings.json
Harry Wolff b066e732dd Adds support for additional permalink structures
fixes #2057

- uses express’ Route object to create RegExp’s
 that we use to check the incoming path
- refactored structure of fronted controller single
 tests to be easier to read
- amend regex to incorporate new allowed permalink
 structure
2014-02-10 12:07:43 -05:00

80 lines
1.8 KiB
JSON

{
"core": {
"databaseVersion": {
"defaultValue": "002"
},
"dbHash": {
"defaultValue": null
},
"nextUpdateCheck": {
"defaultValue": null
},
"displayUpdateNotification": {
"defaultValue": null
}
},
"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-z0-9_-]+){1,5}\/$",
"regex": "(:id|:slug|:year|:month|:day)",
"notContains": "/ghost/"
}
}
},
"theme": {
"activeTheme": {
"defaultValue": "casper"
}
},
"app": {
"activeApps": {
"defaultValue": "[]"
},
"installedApps": {
"defaultValue": "[]"
}
}
}