So I'm trying to extend a layout, and I have the directory structure as such: ../src/views/base.html.twig
.
I'm using the code examples right from the documentation, but I have some issue with the file path that I just can't resolve.
In a child template in the same folder named layout.html.twig
, I have {% extends "base.html.twig" %}
, but it doesn't do anything. I've tried every possible path combination, but nothing works.
Any help?