mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #9557 from unclecheese/pulls/4.4/dev-noindex
MINOR: Add noindex metatag to debugview
This commit is contained in:
commit
01f93ef178
@ -223,6 +223,7 @@ class DebugView
|
|||||||
->resolveURL('silverstripe/framework:client/styles/debug.css');
|
->resolveURL('silverstripe/framework:client/styles/debug.css');
|
||||||
$output = '<!DOCTYPE html><html><head><title>' . $url . '</title>';
|
$output = '<!DOCTYPE html><html><head><title>' . $url . '</title>';
|
||||||
$output .= '<link rel="stylesheet" type="text/css" href="' . $debugCSS . '" />';
|
$output .= '<link rel="stylesheet" type="text/css" href="' . $debugCSS . '" />';
|
||||||
|
$output .= '<meta name="robots" content="noindex">';
|
||||||
$output .= '</head>';
|
$output .= '</head>';
|
||||||
$output .= '<body>';
|
$output .= '<body>';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user