title: DIsplaying set variables in other block in Twig
body: <pre><code>{% block someBlock %}
  {% set foo = 'blah blah blah' %}
  {% endblock %}
  
  {% block otherBlock %}
  {{ foo }}
  {% endblock %}
  </code></pre>
  
  <p>This doesn't work as expected (foo is not visible in the second block). How can I make it globally visible and make it work as expected?</p>