Handle layouts in subfolders.