summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/header.html.tmpl
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-01-05 17:28:37 +0100
committerGitHub <noreply@github.com>2018-01-05 17:28:37 +0100
commit6cfc9bd29720fb49ebc78f7445dcd88286d6468d (patch)
treee55a787c2fefc5dd62c2f2acc1feade1b8dd7b15 /template/en/default/global/header.html.tmpl
parentdc56fab86e63cc2b68fb47ee5610a1279791f19c (diff)
downloadbugzilla-6cfc9bd29720fb49ebc78f7445dcd88286d6468d.tar.gz
bugzilla-6cfc9bd29720fb49ebc78f7445dcd88286d6468d.tar.xz
Bug 1428227 - Google doesn't index bugzilla.mozilla.org any more
Diffstat (limited to 'template/en/default/global/header.html.tmpl')
-rw-r--r--template/en/default/global/header.html.tmpl6
1 files changed, 3 insertions, 3 deletions
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>[% title %]</title>
- [% IF no_index %]
+ [% IF robots == "noindex" %]
<meta name="robots" content="noindex">
[% END %]