I have index.html.twig and base.html.twig in the same directory folder..I have the following scipts
index.html.twig
{% extends('base.html.twig') %}
{% block body %}
helo body
{{ parent() }}
{% endblock %}
{% block footer %}
This footer
{% endblock %}
base.html.twig
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>{% block title %}Welcome!{% endblock %}</title>
{% block stylesheets %}{% endblock %}
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
</head>
<body>
{% block body %}The body block{% endblock %}
{% block sidebar %}The body sidebar{% endblock %}
</body>
</html>
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 ?