コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }