generate new site(cherry picked from commit ffd1fab084e9273da95901413cc821ab89d0a338)