moved template rendering to SitemapManager