- Description:
This key defines the raw template to be processed when creating files. Relative to the containing collection's path.
- Appears in:
- Type:
string- Examples:
In this example, we have configured a create path template for the
blogCollection using thedateandtitlefields.Copied to clipboardcollections_config: blog: create: path: >- [relative_base_path]/{date|year}-{date|month}-{date|day}-{title|slugify}.[ext]{ "collections_config": { "blog": { "create": { "path": "[relative_base_path]/{date|year}-{date|month}-{date|day}-{title|slugify}.[ext]" } } } }