I'm having some issues with a nunjucks code that a peer says has a valid syntax:
{% set variable%} {{ a if a > 0 else 1 }} {% endset %}
I know that they included inline if else but I can't find an example that combines it with a set. Thanks in advance, hope you have a happy day
Your code is correct
For Node.js