cphalcon
cphalcon copied to clipboard
[NFR] [VOLT] Nested inheritance does not work
If template A extends B and template B extends C on rendering of template A Only content of template B is included.
a.html
{% extends "b.html" %}
{% block content %}
Content for A
{% endblock %}
b.html
{% extends "c.html" %}
{% block header%}Header B{% endblock %}
{% block content %}{% endblock %}
c.html
Main header C
{% block header%}{% endblock %}
{% block content %}{% endblock %}
Expected:
Main header C Header B Content for A
Renders as:
Header B Content for A
Hi eugene, this is now supported in 0.8.0, thanks