title: Set variable in jinja
body: <p>I would like to know how can I set a variable with another variable in jinja. I will explain, I have got a submenu and I would like show which link is active. I tried this:</p>
  
  <pre><code>{% set active_link = {{recordtype}} -%}
  </code></pre>
  
  <p>where recordtype is a variable given for my template.</p>