In my base layout page:
<title>{% block title %} main title {% endblock %}</title>
In my template page :
{% extends '::base.html.twig' %}
{% block title %} child title {% endblock %}
Yet, the title is not changed to 'child title'. Other blocks (like body or scripts) are working perfectly fine. What's wrong with the code above?
** [EDIT] **
However doing the following works :
child layout:
{% block head %}
<title>child title</title>
{% endblock %}
master layout:
<head>
{% block head %} {% endblock %}
</head