Unlist a collection file

Last modified: April 10th, 2024

Working with a specific static site generator?
Customize CloudCannon's documentation to suit your SSG.

Great! We'll show you documentation relevant to .
You can change this any time using the dropdown in the navigation bar.

Hide specific files in a collection so your team members don't accidentally edit them. These files are still used in your site build.

This option is set in the front matter of specific files.

_unlisted - Boolean#

Hides specific files in the collection list section (still accessible from Visual Editor and direct links).

Front Matter
copied
_unlisted: true
Front Matter
copied
{
  "_unlisted": true
}
Front Matter
copied
_unlisted = true

By default, CloudCannon does not read data files during your build. In order to unlist data files, instruct CloudCannon to read it by defining your data.

specific doc

To unlist your collection index files (e.g _index.md), you must also use the parse_branch_index option in your collection configuration.

Open in a new tab