title: How do I extend a twig template in the same directory of my other templates?
body: <p>I have index.html.twig and base.html.twig in the same directory folder..I have the following scipts </p>
  
  <p>index.html.twig</p>
  
  <pre><code>{% extends('base.html.twig') %}
  
  {% block body %}
      helo body
      {{ parent() }}
  {% endblock %}
  {% block footer %}
      This footer
  {% endblock %}
  </code></pre>
  
  <p>base.html.twig</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta charset="UTF-8" /&gt;
          &lt;title&gt;{% block title %}Welcome!{% endblock %}&lt;/title&gt;
          {% block stylesheets %}{% endblock %}
          &lt;link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" /&gt;
      &lt;/head&gt;
      &lt;body&gt;
          {% block body %}The body block{% endblock %}
          {% block sidebar %}The body sidebar{% endblock %}
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>It returns me with an error "Unable to find template "base.html.twig" in "FacebookBundle:Default:index.html.twig" .I also noticed some people have used :: just before the template name .. Why is that and how do I fix this ?</p>