Browse Source

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

Luke Pulverenti 10 năm trước cách đây
mục cha
commit
561b630210
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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\" />");