title: Invalid block tag: 'set'
body: <p>I am trying to set a variable in Jinja template. Just as simple as that. But I got error says : <code>Invalid block tag: 'set', expected 'endblock'</code></p>
  
  <p>Here is my template:</p>
  
  <pre><code>{% block content %}
      &lt;div class="col-lg-7 col-lg-offset-2"&gt;
          &lt;div style="padding-top:100px"&gt;&lt;/div&gt;
          &lt;div class="panel panel-primary"&gt;
              &lt;div class="panel-heading"&gt;
                  &lt;h3 class="panel-title"&gt;
                      &lt;i class="mdi-social-person"&gt;&lt;/i&gt;
                      Reports
                  &lt;/h3&gt;
              &lt;/div&gt;
              &lt;div class="panel-body"&gt;
                      {% set index = 'a' %}
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  {% endblock content %}
  </code></pre>
  
  <p>I thought set should be straight forward not this difficult.</p>