title: Share and update variable in twig template
body: <p>I would like to update a variable in the twig include model.</p>
  <p>I want to position absolute html tags.</p>
  <p>Is there a way to do something like this?</p>
  <pre><code>{# Main template #}        
    {% set actualTop = 0 %}
    {{ include (&quot;firstTemplate.html.twig&quot;) }}
    {{ include (&quot;secondTemplate.html.twig&quot;) }}
  
  {# firstTemplate #}     
    {% set actualTop = actualTop + 10 %}
  
  {# secondTemplate#}        
    {% set actualTop = actualTop + 20 %}
  </code></pre>