mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-29 07:59:31 +02:00
MINOR: Add noindex metatag to debugview
This commit is contained in:
parent
395893b559
commit
658ca4deb1
|
@ -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