Layout consists of following: main.volt:
<!DOCTYPE html>
<html>
<head>
{% block head %}
<link...
<script ...
{% endblock %}
<title>{% block title %}{% endblock %}</title>
</head>
<body>
<div id="content">
{% block content %}{% endblock %}
</div>
</body>
</html>
And the file extending the template: requirements/index.volt
{% extends 'layouts/main.volt' %}
{% block head %}
{{ super() }}
{% endblock %}
{% block content %}
<p>I am in content</p>
{% endblock %}
However, the end result is the following:
<!DOCTYPE html>
<html>
<head>
<title>Phalcon PHP Framework</title><!-- Where did this come from? -->
</head>
<body>
<!-- Everything in <head> is dumped here -->
<link...
<script..
<title></title>
<div id="content">
<p>I am in content</p>
</div>
</body>
</html>
Am I doing something wrong? Why is everything being dumped into <head> ? Thanks
UPDATE: Project path image
(Ignore main_wrap.volt, it ain't used)