I have a variable UI_BRAND that has the value of blue
I have the following code:
{% if UI_BRAND != 'default' %}
<link rel="stylesheet" href="{{ url_for('static', filename='UI_BRAND-styles.css') }}">
{% endif %}
I need UI_BRAND-styles.css to evaluate to blue-styles.css. I've tried using {{}} inside if the already existing brackets, but I know that's not allowed.
What would be the best way to dynamically load this CSS file using the value of UI_BRAND ?