generate sitemap when publishing