소스 검색

fixes #948 - Request: Add ROBOTS Meta Tag to unauthenticated content within the Web Interface.

Luke Pulverenti 10 년 전
부모
커밋
561b630210
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      MediaBrowser.WebDashboard/Api/PackageCreator.cs

+ 3 - 1
MediaBrowser.WebDashboard/Api/PackageCreator.cs

@@ -172,7 +172,9 @@ namespace MediaBrowser.WebDashboard.Api
             sb.Append("<meta name=\"application-name\" content=\"Media Browser\">");
             //sb.Append("<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">");
 
-            sb.Append("<link rel=\"icon\" sizes=\"114x114\" href=\"css/images/touchicon114.png\" />");
+            sb.Append("<meta name=\"application-name\" content=\"Media Browser\">");
+
+            sb.Append("<meta name=\"robots\" content=\"noindex, nofollow, noarchive\" />");
 
             // http://developer.apple.com/library/ios/#DOCUMENTATION/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
             sb.Append("<link rel=\"apple-touch-icon\" href=\"css/images/touchicon.png\" />");