Skip to content

Commit

Permalink
Merge pull request #9557 from unclecheese/pulls/4.4/dev-noindex
Browse files Browse the repository at this point in the history
MINOR: Add noindex metatag to debugview
  • Loading branch information
emteknetnz authored Jun 30, 2020
2 parents 395893b + 658ca4d commit 01f93ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Dev/DebugView.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ public function renderHeader($httpRequest = null)
->resolveURL('silverstripe/framework:client/styles/debug.css');
$output = '<!DOCTYPE html><html><head><title>' . $url . '</title>';
$output .= '<link rel="stylesheet" type="text/css" href="' . $debugCSS . '" />';
$output .= '<meta name="robots" content="noindex">';
$output .= '</head>';
$output .= '<body>';

Expand Down

0 comments on commit 01f93ef

Please # to comment.