105 lines
2.8 KiB
JSON
105 lines
2.8 KiB
JSON
{
|
|
"templateDir": "config/templates",
|
|
"auth": {
|
|
"certDir": "certs",
|
|
"caCert": "certs/ca.cert.pem",
|
|
"caKey": "certs/ca.key",
|
|
"caCRL": "certs/ca.crl"
|
|
},
|
|
"server": {
|
|
"hostname": "localhost"
|
|
},
|
|
"db": {
|
|
"path": "motm.sqlite3",
|
|
"host": "localhost"
|
|
},
|
|
"postTypes": {
|
|
"board_index": {
|
|
"childType": "board",
|
|
"template": "index",
|
|
"miniTemplate": null,
|
|
"paginated": false,
|
|
"maxChildren": 10,
|
|
"allowAppend": false,
|
|
"allowSubmission": false,
|
|
"titled": true,
|
|
"scored": false,
|
|
"sorting": "title"
|
|
},
|
|
"board": {
|
|
"childType": "op_post",
|
|
"template": "board",
|
|
"miniTemplate": "board_entry",
|
|
"paginated": true,
|
|
"maxChildren": 10,
|
|
"allowAppend": false,
|
|
"allowSubmission": true,
|
|
"titled": true,
|
|
"scored": false,
|
|
"sorting": "score"
|
|
},
|
|
"op_post": {
|
|
"childType": "reply",
|
|
"template": "op_post",
|
|
"miniTemplate": "op_post_entry",
|
|
"paginated": false,
|
|
"maxChildren": 0,
|
|
"allowAppend": true,
|
|
"allowSubmission": true,
|
|
"titled": true,
|
|
"scored": true,
|
|
"sorting": "timestamp"
|
|
},
|
|
"reply": {
|
|
"childType": "reply",
|
|
"template": "reply",
|
|
"miniTemplate": "reply",
|
|
"paginated": false,
|
|
"maxChildren": 0,
|
|
"allowAppend": true,
|
|
"allowSubmission": false,
|
|
"titled": false,
|
|
"scored": false,
|
|
"sorting": "timestamp"
|
|
}
|
|
},
|
|
"defaultPosts": {
|
|
"motm": {
|
|
"postType": "board_index",
|
|
"path": "boards",
|
|
"parent": null,
|
|
"text": "The messageboard on the moon.",
|
|
"template": "index",
|
|
"miniTemplate": null,
|
|
"allowAppend": false
|
|
},
|
|
"one": {
|
|
"postType": "board",
|
|
"path": "one",
|
|
"text": "The first board.",
|
|
"parent": 1,
|
|
"template": "board",
|
|
"miniTemplate": "board_entry",
|
|
"allowAppend": false
|
|
},
|
|
"two": {
|
|
"postType": "board",
|
|
"path": "two",
|
|
"text": "The second board.",
|
|
"parent": 1,
|
|
"template": "board",
|
|
"miniTemplate": "board_entry",
|
|
"allowAppend": false
|
|
},
|
|
"three": {
|
|
"postType": "board",
|
|
"path": "three",
|
|
"text": "The third board.",
|
|
"parent": 1,
|
|
"template": "board",
|
|
"miniTemplate": "board_entry",
|
|
"allowAppend": false
|
|
}
|
|
}
|
|
}
|