Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jekyll Config Multiple Files

Tags:

jekyll

As the doc mentions, we should be able to write:

jekyll build --config "_config.yml, _config.en.yml"

Instead, I receive:

Fatal: The configuration file ' _config.en.yml' could not be found.

While the file actually exists.

What am I doing wrong?

like image 643
Augustin Riedinger Avatar asked Jun 17 '15 16:06

Augustin Riedinger


2 Answers

Remove the space after the coma.

jekyll build --config "_config.yml,_config.en.yml"
like image 190
David Jacquel Avatar answered Nov 18 '22 19:11

David Jacquel


It's a comma-separated list. You're separating it with a comma and a space.

like image 20
mipadi Avatar answered Nov 18 '22 19:11

mipadi