Choose your preferred SSG:
Choose your preferred SSG:

Defining your data

Defining data allows you to populate select and multiselect inputs. Each data set corresponds to a file or folder in your site files.

By default, CloudCannon does not read the contents of data files during your build. If required, include data with the instructions for your SSG:

Jekyll content

To include all data sets, add the following to your global configuration file:

cloudcannon.config.yml
data_config: true

Include only select data sets with specific keys:

cloudcannon.config.yml
data_config:
  authors: true
  offices: true

Hugo content

Eleventy content

Other content

Was this article helpful? or Suggest an improvement >

Related articles