Catsup support json format config file.You can create a config file with
catsup init
The default json format config file:
{
"site": {
"name": "blogname",
"url": "http://blog.com"
},
"author": {
"name": "name",
"twitter": "twitter"
},
"config": {
"source": "posts",
"output": "deploy",
"static": "deploy/static",
"static_prefix": "/static/",
"feed": "/feed.xml",
"per_page": 3,
"posts_on_feed": 5,
"analytics": "",
"display_summary": false,
"escape_md": false
},
"comment": {
"allow": true,
"system": "disqus",
"disqus": "catsup",
"duoshuo": "catsup"
},
"deploy": {
"default": "rsync",
"git": {
"repo": "repo url here",
"branch": "master",
"delete": true
},
"rsync": {
"ssh_port": 22,
"ssh_user": "username",
"ssh_host": "123.45.6.78",
"document_root": "~/website.com/",
"delete": true
}
},
"theme": {
"name": "sealscript",
"vars": {
"description": "a blog",
"github": "whtsky",
"links": [
{
"name": "catsup",
"url": "https://github.com/whtsky/catsup",
"description": "Awesome!"
}
]
}
}
}