my folder structure looks something like this:
π themes
ββ π foo
ββ π bar
β ββ π templates
β β ββ π node.html.twig
β ββ π bar.info.yml
ββ π templates
β ββ π page.html.twig
ββ π foo.info.yml
ββ π foo.libraries.yml
now I run a multisite. one site is using the foo
theme and the other uses bar
.
The site using the foo
theme also invokes the template
/theme/foo/var/templates/node.html.twig
- Why is that so?
- I thought the
foo
theme only invokes templates inside its owntemplates
folder? I expected this to be the point of thetemplates
folder. Is that assumption wrong? - can I prevent this behavior without moving the subtheme somewhere else?