I tried to create a custom page with a custom plugin
In docs there’s an example, but the plugin don’t found the template
In my plugin I added the template “example.html.twig” ander ther folder templates
Then, I subscribed the event “onGetPageTemplates” and I registered the template
Finally, I associated the new template at a page
But when I call ther route, Grav give me the error: Template “example.html.twig” is not defined.
There’s someone that can help me please?
Thank in advance