☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

path

Table of contents

Description:

This key defines the folder path for the collection key in which it is nested.

The value for this key is relative to your Site source.

Each Collection must have a unique path.

Appears in:
└── collections_config
    └── *
        └── path
Type:
string Required
Examples:

In this example, the files for the blog Collection are located in the content/blog folder.

Copied to clipboard
collections_config:
  blog:
    path: content/blog
{
  "collections_config": {
    "blog": {
      "path": "content/blog"
    }
  }
}
Open in a new tab