moved basic template code in here; note about sitemap