当我想测试我使用的本地东西时
baseurl: "http://localhost/blog/_site"
当我部署我使用的网站时
baseurl: "http://martinthoma.github.io"
_config.yml每次更改都不是解决方案,因为我想使用这样的makefile:
_config.yml
本地测试:
make test
部署:
make deploy
所以我的问题是:如何通过命令行为Jekyll设置baseurl?