• Pricing
Skip to content

CloudCannon Integration

On this page:

Loading...

The CloudCannon editing interfaces rely on a JSON file which contains information about your site. CloudCannon generates this JSON file 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:

Providing options

You may need to set additional options if your site uses custom settings.

Additional options are almost always set in your _config.yml on the top level or under cloudcannon. The rest of the documentation covers each specific example.

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 information 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
Illustration of woman holding an envilope