Closed
Description
Namespaces are a very useful concept in Twig. You can see the Symfony implementation here: https://symfony.com/doc/current/templating/namespaced_paths.html#registering-your-own-namespaces
Any chance of adding support for them in Grav? Something like a twig_paths:
property in the theme YAML that defines paths and the namespaces for them, perhaps?
(I'd also appreciate any pointers in setting this up manually via a plugin, because messing with Twig_Loader_Filesystem::addPath()
has proven to be difficult.)
Metadata
Assignees
Labels
No labels