Since documentation seems to be vague, I'm not sure whether I've missed it... Is it not possible to use conditionals inside @ blocks? Eg. in below example:
I'm getting some kind of infinite recursion error. Is this not at all supported by the engine? if it isn't, how do I achieve a similar goal using vash? Error below:
SyntaxError: Problem while rendering template at line 0, character 0.
Original message: Problem while compiling template at line 0, character 0.
Original message: Unexpected token =.
Since documentation seems to be vague, I'm not sure whether I've missed it... Is it not possible to use conditionals inside @ blocks? Eg. in below example:
I'm getting some kind of infinite recursion error. Is this not at all supported by the engine? if it isn't, how do I achieve a similar goal using vash? Error below: