Base configuration for prod and dev
Configuration differs between development and production platforms. We then need to have two different config files.
The production setup is in
_config.yml and the development setup, in
_config_dev.yml, with this minimum content :
baseurl is very important to set, more than
This because, it’s used to reach assets (css, js, images) by`prepending it to url.
Then in development environment, we just have to do :
Whe can now build your new Jekyll site on both environments.