- Description:
This key represents an individual glob pattern string in the
_snippets_from_globarray.The value is a string that specifies a file path pattern relative to the root of your repository. The path must end in the file extension
.cloudcannon.snippets.yml.- Appears in:
└── _snippets_from_glob └── [*]- Type:
string- Examples:
In this example, each Custom Snippet has its own Configuration File in the
.cloudcannon/snippets/folder. The value of the_snippets_from_globkey tells CloudCannon to use thecallout.cloudcannon.snippets.ymlfile in that folder.Copied to clipboard_snippets_imports: eleventy_liquid: true _snippets_from_glob: - /.cloudcannon/snippets/callout.cloudcannon.snippets.yml{ "_snippets_imports": { "eleventy_liquid": true }, "_snippets_from_glob": [ "/.cloudcannon/snippets/callout.cloudcannon.snippets.yml" ] }