diff --git a/templates/base.html b/templates/base.html
index 8b3ba8e..8f79b77 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -40,7 +40,11 @@
-
+ {% if page in hidden_pages %}
+
+ {% else %}
+
+ {% endif %}
{% if BROWSER_COLOR %}
diff --git a/tests/content/pages/hidden.md b/tests/content/pages/hidden.md
index ca607a4..1d03981 100644
--- a/tests/content/pages/hidden.md
+++ b/tests/content/pages/hidden.md
@@ -5,4 +5,4 @@ Status: hidden
This is a hidden page.
-It will have the contents of `ROBOTS_HIDDEN` as the value of the `robots` `` tag.
+It will have `noindex, nofollow` as the value of the `robots` `` tag.
diff --git a/tests/pelicanconf.py b/tests/pelicanconf.py
index 2b8d965..86b2f4a 100644
--- a/tests/pelicanconf.py
+++ b/tests/pelicanconf.py
@@ -18,9 +18,7 @@ SITELOGO = u'https://www.example.com/img/profile.png'
FAVICON = SITEURL + '/images/favicon.ico'
BROWSER_COLOR = '#333'
-# 'robots' meta tag values for normal and hidden pages.
ROBOTS = u'index, follow'
-ROBOTS_HIDDEN = u'noindex, nofollow'
THEME = u'../'
PATH = u'content'