I’m looking to pass a value to a variable based on a condition in my code. Here’s the pseudo code of what I’m trying to achieve:
{% include "includes/template.html" with info=if condition: a else: b %}
I’m wondering how I can accomplish this. Any suggestions or guidance would be greatly appreciated!