Support for `--config [file]` option #561

wants to merge 3 commits into


None yet
7 participants

Hello there,
I'm making my blog with Jekyll, and I use two _config.yml files, one for local testing, and one for my website. I think it should be usefull if Jekyll has a --config [file] option which allow to give a different config filename.
For example: jekyll --config _local_config.yml.


parkr commented May 24, 2012

You might consider writing some tests for this.

Ok, I added tests in commit 39d32c3.

For what it's worth, I could really use this!


parkr commented Jun 28, 2012

@mojombo, thoughts?

fcy commented Sep 8, 2012

I'd love this feature. My use case is that I want to have two configuration files for each of the languages I write in my blog.

sl4mmy commented Sep 19, 2012

I think this feature is a great idea.

Some sites hosted on GitHub Pages run Jekyll locally in unsafe mode in order to use plugins, and push static HTML up to GitHub Pages where Jekyll is run in safe mode. This feature would simplify setting up such workflows, especially on documentation projects with many contributors.

sl4mmy commented Jan 2, 2013

It looks like #725 is another attempt at adding this feature


maul-esel commented Mar 17, 2013

#863 has been merged. So I'd say this is done?

@sl4mmy sl4mmy referenced this pull request Mar 17, 2013


Accept custom configuration #863

sl4mmy commented Mar 17, 2013

+1 @maul-esel

@parkr You can close this now since you merged #863.

@parkr parkr closed this Mar 17, 2013

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.