diff options
author | Mary Umoh <umohm12@gmail.com> | 2017-08-29 21:22:09 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-08-29 21:22:09 +0200 |
commit | 888e1d3f7b856e5e0f006eff222e14715b8a1900 (patch) | |
tree | 0d8b9b9756f86672fa1cab857ae2cd879a95273e /template/en/default/global/header.html.tmpl | |
parent | d2473de1219d4df613b46de081384238525553be (diff) | |
download | bugzilla-888e1d3f7b856e5e0f006eff222e14715b8a1900.tar.gz bugzilla-888e1d3f7b856e5e0f006eff222e14715b8a1900.tar.xz |
Bug 1394466 - Include noindex on error pages
Diffstat (limited to 'template/en/default/global/header.html.tmpl')
-rw-r--r-- | template/en/default/global/header.html.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 3b46b143a..e808df9bd 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -39,6 +39,7 @@ # no_body: if true the body element will not be generated # allow_mobile: allow special CSS and viewport for detected mobile useragents # use_login_page: display a link to the full login page, rather than an inline login. + # no_index: Disable search engine from adding page into search index. #%] [% IF message %] @@ -54,6 +55,7 @@ jquery = [] jquery_css = [] generate_api_token = 0 + no_index = 1 %] [%# These are JS URLs that are *always* on the page and come before @@ -132,6 +134,10 @@ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> [% END %] + [% IF no_index %] + <meta name="robots" content="noindex" /> + [% END %] + [% PROCESS "global/site-navigation.html.tmpl" %] [% PROCESS 'global/setting-descs.none.tmpl' %] |