title: How can I define global variables inside a twig template file?
body: <p>Is it possible to set global variables in a twig file, so that I can access that variables from other files, macros and blocks.</p>
  
  <p>For example, I want to have <code>variables.twig</code> file and in it set my variables and then I can include it in other templates.</p>
  
  <p>I know that setting global variables is possible from the framework (e.g. Symfony) but I want a solution using twig features only.</p>