Hello i have this question
if have a variable
<script>
var a = True
<script>
can i use the variable like
{% if a %}
<h1> True</h1>
{%else%}
<h1> False </h1>
{%endif%}
The both pieces of code are in the same page
I don't want to use filters it will complicate a lot my work Thank you