Groups templates in subdirectories