Exclude search results from robot indices (closes #120)
Change-Id: If6387bb7585afbba80743cad9cfcf8779517c6b3
diff --git a/templates/layouts/main.html.ep b/templates/layouts/main.html.ep
index ee29e60..e23c589 100644
--- a/templates/layouts/main.html.ep
+++ b/templates/layouts/main.html.ep
@@ -13,7 +13,7 @@
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta name="msapplication-TileImage" content="<%= url_for '/img/windows-tile.png' %>" />
<meta name="msapplication-TileColor" content="#9bad0b" />
- <meta name="robots" content="index,follow" />
+ <meta name="robots" content="<%= stash('robots') || 'noindex' %>" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="description" content="<%= $desc %>" />
<meta name="language" content="<%= $lang %>" />