From 6cfc9bd29720fb49ebc78f7445dcd88286d6468d Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 5 Jan 2018 11:28:37 -0500 Subject: Bug 1428227 - Google doesn't index bugzilla.mozilla.org any more --- template/en/default/global/code-error.html.tmpl | 2 +- template/en/default/global/header.html.tmpl | 6 +++--- template/en/default/global/user-error.html.tmpl | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index a26bf7d68..cf32548b6 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -520,7 +520,7 @@ [% END %] [% UNLESS header_done %] - [% PROCESS global/header.html.tmpl no_index=1 %] + [% PROCESS global/header.html.tmpl robots = 'noindex' %] [% END %] [% PROCESS global/docslinks.html.tmpl diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index aa6d1cecc..0f9646ba1 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -39,7 +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. + # robots: index / noindex (default: index) #%] [% IF message %] @@ -54,7 +54,7 @@ jquery = [] jquery_css = [] generate_api_token = 0 - no_index = 1 + robots = 'index' %] [%# These are JS URLs that are *always* on the page and come before @@ -133,7 +133,7 @@ id="bugzilla-global" data-bugzilla="[% json_encode(js_BUGZILLA) FILTER html %]"> [% title %] - [% IF no_index %] + [% IF robots == "noindex" %] [% END %] diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index a9342e343..c6efb5649 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1992,7 +1992,7 @@ [% END %] [% UNLESS header_done %] - [% PROCESS global/header.html.tmpl no_index=1 %] + [% PROCESS global/header.html.tmpl robots = 'noindex' %] [% END %] [% PROCESS global/docslinks.html.tmpl -- cgit v1.2.3-24-g4f1b