Open chrislondon opened 3 years ago
HandlebarsJS has support for partials blocks. An example would be:
myPartial:
<div> {{> @partial-block }} </div>
template:
{{> myPartial }} <p>Some content here</p> {{/myPartial}}
Would render:
<div> <p>Some content here</p> </div>
When I try doing this I get the error: pybars._compiler.PybarsError: Error at character 25 of line 34 near {{/myPartial}}
pybars._compiler.PybarsError: Error at character 25 of line 34 near {{/myPartial}}
I assume the reason I'm getting the error is because this isn't supported yet?
HandlebarsJS has support for partials blocks. An example would be:
myPartial:
template:
Would render:
When I try doing this I get the error:
pybars._compiler.PybarsError: Error at character 25 of line 34 near {{/myPartial}}
I assume the reason I'm getting the error is because this isn't supported yet?