summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/header.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/global/header.html.tmpl')
-rw-r--r--template/en/default/global/header.html.tmpl6
1 files changed, 6 insertions, 0 deletions
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 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
[% END %]
+ [% IF no_index %]
+ <meta name="robots" content="noindex" />
+ [% END %]
+
[% PROCESS "global/site-navigation.html.tmpl" %]
[% PROCESS 'global/setting-descs.none.tmpl' %]