You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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: