Closed kieranpotts closed 5 years ago
@kieranpotts Hi, thanks for your feedback - this is very important to us. I will try to deal with this problem as soon as possible.
@kieranpotts I updated all the dependencies and wrote a test case for your case, now everything should work
It works! Fantastic, thank you so much @Scrum :)
Problem
I would like to be able to use conditionals within loops, where the conditional expression evaluates against another local template variable.
Details
Input:
Desired output:
Actual output:
Thus the expression
page.path === current_path
does not evaluatecurrent_path
to a template variable.Is this expected behaviour? If not, could it be considered by the project maintainers as a feature enhancement? (I may be able to contribute the necessary source code changes as a PR.)
Thank you.
Environment