Split templates into a folder