jekyll-json

By matthewowen

Jekyll JSON turns YAML config into JSON, so that you can use it in Javascript. Passed a YAML key, it’ll return a JSON, combining the page specific YAML with any config in _config.yml (using the value set on the page wherever there’s a conflict).

To install, you must copy the necessary files from the repository to your Jekyll site. Further installation instructions are available in the repository's README.

Once installed, run Jekyll like normal.

Source code