title: symfony2: about extending templates
body: <p>I have just created the <a href="http://symfony.com/doc/current/book/page_creation.html" rel="nofollow">AcmeHelloBundle</a> so I have this template that has been generated:</p>
  
  <pre><code>Hello {{ name }}!
  </code></pre>
  
  <p>Now, I just want to modify the title of the page that contains "Hello John!". So as a first attempt I edit base.twig.html and change "Welcome" with "foobar" but the title doesn't change..</p>
  
  <p>So finally to change the title I do this:</p>
  
  <pre><code> {% extends '::base.html.twig' %}
  
   {% block body %}
       Hello {{ name }}!
   {% endblock %}
  </code></pre>
  
  <p>Despite it's working ok with this code (the changes in the title are showed correctly), related to my first attempt I'm wondering how the template is extending the base.html.twig but doesn't show the changes that I do on it..</p>
  
  <p>Javi</p>