summaryrefslogtreecommitdiffstats
path: root/template
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
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')
-rw-r--r--template/en/default/global/code-error.html.tmpl2
-rw-r--r--template/en/default/global/header.html.tmpl6
-rw-r--r--template/en/default/global/user-error.html.tmpl2
3 files changed, 5 insertions, 5 deletions
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>[% title %]</title>
- [% IF no_index %]
+ [% IF robots == "noindex" %]
<meta name="robots" content="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