summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/global')
-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