...
Configuring include on SFG
Label | ||||
---|---|---|---|---|
|
YCE
Say we want to create CMS include with "my_cms_include" that will be included in our custom component.
...
Code Block |
---|
div('class': 'container') {
mkp.yieldUnescaped(ctx.content('my_cms_include')); } |
Code Block |
---|
div('class': 'container') {
mkp.yieldUnescaped(ctx.dynamicContent('my_cms_include', ['p1':'value1', 'p2object': myObject])); } |
...