Browse Source

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

Luke Pulverenti 10 years ago
parent
commit
561b630210
1 changed files with 3 additions and 1 deletions
  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=\"application-name\" content=\"Media Browser\">");
             //sb.Append("<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">");
             //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
             // 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\" />");
             sb.Append("<link rel=\"apple-touch-icon\" href=\"css/images/touchicon.png\" />");