If you're hosting your Jekyll config file on a public repository, you probably don't want to share API credentials with others. Here is a quick guide that ill teach you how to hide some of your Jekyll configuration.
So I did some research and found out that you can actually tell Jekyll to use multiple config files. It became obvious that I could simple create YAML config file that I wouldn't track in Git. Let's call this config file
_secret.yml for the sake of this tutorial.
_secret.ymlin your root folder
jekyll s -c _config.yml,_secret.yml
Share your strategy to protect your API credentials.