Content Blocks is supported
{{content_blocks.${contentBlockName}}}
By default the content blocks template is being searched in directories in following order:
1. current dir
2. content_blocks under current dir
3. content_blocks in parent dir
It will also search for file names in this order:
1. exact match
2. convert file name to kebab-case
3. append .liquid
4. convert file name to kebab-case and append .liquid
It's also possible to configure the root dir and file extension in context:
{
"__contentBlocks": {
"root": "path_to_dir",
"ext": ".html"
}
}
⚠️ At time of writing, Braze only support nesting 2 levels of content blocks