added layouts to templates viewmodel and sitemap endpoint.