diff --git a/app/main/views/index.py b/app/main/views/index.py index 4ed477e70..a36fdd133 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -21,7 +21,7 @@ from app.main.views.sub_navigation_dictionaries import ( using_notify_nav, ) from app.models.feedback import QUESTION_TICKET_TYPE -from app.utils import get_logo_cdn_domain +from app.utils import get_logo_cdn_domain, hide_from_search_engines @main.route('/') @@ -253,6 +253,7 @@ def roadmap(): @main.route('/features/email') +@hide_from_search_engines def features_email(): return render_template( 'views/features/emails.html', diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index 6bc322b44..7dc94201a 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -88,6 +88,7 @@ def test_robots(client): ('bat_phone', {}), ('thanks', {}), ('register', {}), + ('features_email', {}), pytest.param('index', {}, marks=pytest.mark.xfail(raises=AssertionError)), )) @freeze_time('2012-12-12 12:12') # So we don’t go out of business hours