In the documentation I found following example:
Doc: http://blazejs.org/guide/spacebars.html#Block-Helpers
I would like to ask, if is possible to modify the #if condition by following way:
{{#if myTemplate}} <-- how to check, if template exists - how to make this condition?
<div class="myTemplateWrapper">
{{> myTemplate}}
</div>
{{/if}}
or…
{{#if Template.dynamic template='myTemplate'}} <-- how to check, if template exists - how to make this condition?
<div class="myTemplateWrapper">
{{> Template.dynamic template='myTemplate'}}
</div>
{{/if}}
Thank you very much for each help