I have a problem. I want to define a block or a blockHelper {{#someBlock}} within a template so that I can reuse it within the very same template. For clarity I dont want to define a blockHelper in a seperate template or create a separate template since I want to reuse template helpers from the template that should use the block.
An example:
<template name="myTemplate>
<div>{{someHelper}}</div>
<div class="content">
{{#if someCondition}}
{{#someBlock}}
<span>{{someHelper}}</span>
....
....
....
{{/someBlock}}
{{/if}}
</div>
<div class="content2">
{{#if someOtherCondition}}
{{#someBlock}}
<span>{{someHelper}}</span>
....
....
....
{{/someBlock}}
{{/if}}
</div>
</template>
So what I want to achive is not having to specify the content of the block twice. Is is possible to define some block and store the content in a variable so that I can reuse it within the very same template without having to duplicate the content of the block twice.