In SAAS application how can I have various html template layouts in sub folders under layout folder

Is it possible to have sub folders containing various layout templates under default layout folder in saas application. How to tell phoenix to use particular layout template in those sub folders. Looks like put_layout/2 does not allow template name including the sub folder name. Any ideas how to achieve it.

You have to compile them in, change your pattern as per the docs at:


1 Like

Thanks a lot.