defining a variable in jinja code example
Example: how to declare and retrieve variable in jinja template
{% with my_variable="my value" %}
{{my_variable}}
{% endwith %}
{# or #}
{% firstof "my value" as my_variable %}
{{my_variable}}
{% with my_variable="my value" %}
{{my_variable}}
{% endwith %}
{# or #}
{% firstof "my value" as my_variable %}
{{my_variable}}