public void SetPageMetaData(AreaTag area, bool forIndoor) { ViewData["PageTitle"] = PageMetaInfoGenerator.GetTitle(area, forIndoor); ViewData["PageDescription"] = PageMetaInfoGenerator.GetMetaDescription(area, forIndoor); ViewData["PageKeywords"] = PageMetaInfoGenerator.GetMetaKeywords(area, forIndoor); ViewData["PageRobots"] = GetRobotsDefinition(PageRobots.IndexFollow); }
public void SetPageMetaData(IClimbingPlace place) { ViewData["PageTitle"] = PageMetaInfoGenerator.GetTitle(place); ViewData["PageDescription"] = PageMetaInfoGenerator.GetMetaDescription(place); ViewData["PageKeywords"] = PageMetaInfoGenerator.GetMetaKeywords(place); ViewData["PageRobots"] = GetRobotsDefinition(PageRobots.IndexFollow); }