Skip to content

CloudCannon Integration

On this page:

Loading...

The CloudCannon editing interfaces rely on JSON files which contain details about your site. CloudCannon generates these JSON files by injecting a plugin when your site builds.

These plugins are open source, and are specific to each Static Site Generator. You can find them here:

Including data in output

By default, data files are not included in the generated output. Including this would enable you to populate select and multiselect inputs from data files.

To include all data, add the following to your _config.yml:

_config.yml
cloudcannon:
  data: true

Include only select data with specific keys:

_config.yml
cloudcannon:
  data:
    authors: true
    offices: true

Although not necessary, if you would like to generate the details file locally, add the following to your Gemfile:

Gemfile
gem 'cloudcannon-jekyll', :group => :jekyll_plugins
Important

Building with safe: true disables all plugins, including cloudcannon-jekyll. This is not recommended as it degrades the editing experience.

On this page:

Loading...

Don’t miss the latest
CloudCannon news freshly delivered to your inbox