Fix site generation for sub-projects.