This key defines tags displayed on Cards in the Collection browser, Structures, and Snippets.
Appears in#
Type#
Array<tags[*]>
Items#
This key represents an individual tag string in the preview.tags array.
The value is a string that specifies a tag to display on Cards in the Collection browser, Structures, and Snippets.
Appears in: tags.
Show examplesHide examples
In this example, we have configured a tag for Cards in the blog Collection.
Copied to clipboard
collections_config:
blog:
preview:
tags:
- featured{
"collections_config": {
"blog": {
"preview": {
"tags": [
"featured"
]
}
}
}
}Examples#
In this example, we have configured tags for Cards in the blog Collection to display category tags.
Copied to clipboard
collections_config:
blog:
preview:
tags:
- featured
- tutorial{
"collections_config": {
"blog": {
"preview": {
"tags": [
"featured",
"tutorial"
]
}
}
}
}