How to use two or more modular templates?

Just wondering if I can have more than one modular templates, for example:


  • with module template inside modular1/


  • with module template inside modular2/


  • with module template inside modular3/

I have tried but it seems a modular page will look for modular.html.twig?

Pretty sure you can. Just try naming the folder containing your modules the same as the modular file.
I mean. It makes sense when I say it. No idea if it’s gonna work.
I’m curious.

1 Like

Yeah, this works:
pages/ --> templates/modular1.html.twig

but it seems grav will still look for module templates inside “templates/modular” folder.