something like in Jinja
{{ "Update" if changed else "Continue" }}
something like in Jinja
{{ "Update" if changed else "Continue" }}
No. I’m debating whether to add it for Tera 2 but tbh I find {% if changed %}Update{% else %}Continue{% endif %}
much clearer, although it cannot be used in some cases.
Agree it has the potential to obscure logic branching but in a templating language it might actually improve clarity by reducing the already abundant clutter.