add a sitemap middleware