You can edit content on CloudCannon through Sites A website in CloudCannon that includes all the files, content, configuration, and settings needed to edit, build, and host a complete website. A storage location for the code and files that make up your website. CloudCannon supports the repository providers GitHub, GitLab, and Bitbucket, and highly recommends using a repository to store your website's files for better version control and collaboration.Site
Git Repository
Articles in this section provide information about the CloudCannon Configuration File and are useful for developers responsible for customizing CloudCannon.
In the Sites section of our Developer documentation, we cover:
- CloudCannon Configuration Files — Learn about the configuration file at the heart of your CloudCannon experience.
- Configuration Mode — Learn how to edit your Site configuration from any page and see it update in real time.
- Collections — Learn how to group related files and configure your Collection Browser
- Cards — Learn how to configure card previews in your Collection Browser
- Commit Messages — Learn how to configure how commit messages are generated when your team saves
- Backups — Learn how to create archives of your source files
- Flags — Learn how to fine-tune Site behavior with configuration options
- Template Strings — Learn how to use placeholders to create dynamic strings for paths, card previews, and commit messages
Let's briefly introduce a few of these topics.
CloudCannon Configuration Files#
The CloudCannon Configuration File CloudCannon Configuration Files store the preferences and settings for your Site, allowing you to customize its functionality and appearance. CloudCannon supports cloudcannon.config.json, cloudcannon.config.yaml, or cloudcannon.config.yml file types, and allows you to split your configuration across multiple files.Configuration Files
.yml (recommended), .yaml, and .json Configuration Files, and you can have one or several files depending on your desired workflow and permissions.
For a more in-depth explanation of the CloudCannon Configuration File, please read our documentation:
- What is the CloudCannon Configuration File?
- Create your CloudCannon configuration file
- Define a custom Configuration File path
- Why split your Configuration File?
- Defining the same key in multiple Configuration Files
- Best practice for splitting your Configuration File
- Split your Configuration File
Configuration Mode#
The Configuration Mode Configuration Mode allows you to modify your Configuration File from any page in the app, allowing you to see your changes in real time. The Configuration Mode switch is on the right side of the Site Header. An abbreviation of User Interface, the UI is the visual elements and components that you can interact with in the CloudCannon app, such as pages, navigation menus, buttons, and inputs.Configuration Mode
UI
For a more in-depth explanation of Configuration Mode, please read our documentation:
Collections#
Your Collections A group of related files with a similar format (e.g., a folder of pages, blog posts, or data files). Once you group your files into Collections, they appear in the Site Navigation for easy access.Collection
For a more in-depth explanation of Collections, please read our documentation:
Cards#
In your Collection Browser, each file is represented by a customizable File Card A Card is a visual representation of a file in the Collection Browser or a Site in the Sites Browser, typically showing a preview image, title, subtitle, icon, and key metadata. You can configure the appearance of Cards to make it easier to browse and identify content at a glance.Card
For a more in-depth explanation of Cards, please read our documentation:
Commit Messages#
When you or a team member saves changes in CloudCannon, those changes are committed to your Git Repository A storage location for the code and files that make up your website. CloudCannon supports the repository providers GitHub, GitLab, and Bitbucket, and highly recommends using a repository to store your website's files for better version control and collaboration. A Git operation that saves changes to the repository with a descriptive message. In CloudCannon, Commits are automatically created when content is saved, allowing for version control and change tracking.Git Repository
Commit
For a more in-depth explanation of Commit Messages, please read our documentation:
Backups#
CloudCannon can create archives of your Site A website in CloudCannon that includes all the files, content, configuration, and settings needed to edit, build, and host a complete website.Site
For a more in-depth explanation of Backups, please read our documentation:
Flags#
Flags Configuration options or boolean settings that enable or disable specific features in CloudCannon. Flags allow you to control various aspects of your site's behavior, build process, and editing interface. An editing interface for structured data in your data files or the Front Matter of markup files. Inputs appear in the Data Editor and the sidebar or data panels in the Content Editor and Visual Editor. CloudCannon supports twelve types of Inputs: Boolean, Code, Color, Datetime, File, Number, Object, Array, Select, Text, Rich Text, and URL.Flags
Input
For a more in-depth explanation of Flags, please read our documentation:
Template Strings#
Template strings are a mixture of literal text and dynamic placeholders that are replaced with data. You can use template strings when configuring create paths for new files, upload paths for assets, card previews in the Collection Browser, and commit messages. Placeholders reference front matter or fixed CloudCannon data to populate the string.
For a more in-depth explanation of template strings, please read our documentation: