New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support nested ifs for built-in template processor #436
Comments
This is currently working as intended. The built-in template processing is for very simple cases, and does not support nested conditionals. I'll change this issue to be a feature request. |
TheLocehiliosan
changed the title
templates with nested if are not working
Support nested ifs for built-in template processor
Sep 13, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A template with a nested
if
do not work and renders with an extra{% endif %}
To reproduce
Can this be reproduced with the yadm/testbed docker image: No - I wasn't able to make
yadm alt
work on the containerSteps to reproduce the behavior:
yadm add test.conf##template
yadm alt
cat test.conf
Expected behavior
test.conf
should have only included one linemacOS arm64
Environment
Additional context
[Add any other context about the problem here.]
The text was updated successfully, but these errors were encountered: