Return
v13.0

This tag will cause Lava processing to end when it is encountered.

Usage

The return tag is like a short circuit and stops processing the remaining Lava similar to the way the break option does inside a for loop.

{% if hour >= 17 %}
    It is after 5pm...
    {% return %}
{% endif %}

{{ 'Now' | Date:'HH:mm' }}

After 5pm the rest of the Lava will not render so you won't see what time it is.
-- output --
It is after 5pm...