How to add a code-block depending on a condintion #352
Answered
by
yajo
incoggnito
asked this question in
Q&A
-
Hey, i don't know how to write the correct if-statement with jinja.
Here is a block i want to add to the
It always tells me a "tool" UndifinedError... any recommendations? |
Beta Was this translation helpful? Give feedback.
Answered by
yajo
Feb 11, 2021
Replies: 1 comment 2 replies
-
This is because jinja interprets
Or you can choose different jinja configuration with envops, such as here, and then change it to:
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
yajo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is because jinja interprets
[[
. Yo need to escape it:Or you can choose different jinja configuration with envops, such as here, and then change it to: