UNPKG

neutron-adt

Version:
18 lines (11 loc) 620 B
# Multiple layouts support Neutron supports multiple layouts. You just need to add a layout property in your json file related to the partial and it will render in your template file. # contentFor helper When you want to print something from your pattern in your layout, you can do it using the `contentFor` helper. After that, just add the helper `outputFor` in your layout. ## Example: *Pattern file:* > {{contentFor "ruleName"}} > ... content or markup goes here > {{/contentFor}} *Layout file:* > {{outputFor "ruleName"}}