Assuming I have 3 views:
-
View A (a.volt) extends view B (b.volt)
{# templates/a.volt #} {% extends "templates/b.volt" %} <!-- some code --> {% block blabla %} This is content of block {% endblock %} <!-- some code -->
-
View B have a partial view called view C (c.volt)
{# templates/b.volt #} <!-- some code --> {{ partial("layout/c") }} <!-- some code -->
-
In view C, I have a block to their parents to inherit
{# templates/c.volt #} <!-- some code --> {% block blabla %}{% endblock %} <!-- some code -->
Can view A make the inheritance from view C? I tried this way but can not. Is there a way to solve this?