]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1428227 - Google doesn't index bugzilla.mozilla.org any more
authorDylan William Hardison <dylan@hardison.net>
Fri, 5 Jan 2018 16:28:37 +0000 (11:28 -0500)
committerGitHub <noreply@github.com>
Fri, 5 Jan 2018 16:28:37 +0000 (11:28 -0500)
template/en/default/global/code-error.html.tmpl
template/en/default/global/header.html.tmpl
template/en/default/global/user-error.html.tmpl

index a26bf7d68deec70bdbe2f0f273dc3c5fffddb013..cf32548b6bed2cdd974b3f4e9767164de8d8e70b 100644 (file)
 [% 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
index aa6d1cecc5933b8919047b18948968e207e25393..0f9646ba1b35872de5f68bc34d12c5804fbd900b 100644 (file)
@@ -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
         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 %]
 
index a9342e343dfdd47aeb4442e1f2ac3bd1fceebe41..c6efb56495f9e3563ea26c0d1fa17089c299face 100644 (file)
 [% 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