add preview task for site generation