From 888e1d3f7b856e5e0f006eff222e14715b8a1900 Mon Sep 17 00:00:00 2001 From: Mary Umoh Date: Tue, 29 Aug 2017 15:22:09 -0400 Subject: Bug 1394466 - Include noindex on error pages --- template/en/default/global/header.html.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'template/en/default/global/header.html.tmpl') diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 3b46b143a..e808df9bd 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -39,6 +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. #%] [% IF message %] @@ -54,6 +55,7 @@ jquery = [] jquery_css = [] generate_api_token = 0 + no_index = 1 %] [%# These are JS URLs that are *always* on the page and come before @@ -132,6 +134,10 @@ [% END %] + [% IF no_index %] + + [% END %] + [% PROCESS "global/site-navigation.html.tmpl" %] [% PROCESS 'global/setting-descs.none.tmpl' %] -- cgit v1.2.3-24-g4f1b