an class="n">some_condition</span><span class="p">:</span><span class="x"></span>
<span class="x">    </span><span class="cp">&lt;%</span><span class="nb">block</span><span class="cp">&gt;</span><span class="x">condition is met</span><span class="cp">&lt;/%</span><span class="nb">block</span><span class="cp">&gt;</span>
<span class="cp">%</span><span class="k"> endif</span><span class="x"></span></pre></div>
</div>
<p>While the block renders at the point it is defined in the template,
the underlying functio