diff --git a/apps/site/lib/site_web/templates/layout/app.html.eex b/apps/site/lib/site_web/templates/layout/app.html.eex index aea08316ef..b16b42b0f0 100644 --- a/apps/site/lib/site_web/templates/layout/app.html.eex +++ b/apps/site/lib/site_web/templates/layout/app.html.eex @@ -23,7 +23,7 @@ <% end %> <%= # hide any page in /policies/terms-use-charlie directory from search engines - if @conn.request_path == "/policies/terms-use-charlie" || String.slice(@conn.request_path, 0..27) == "/policies/terms-use-charlie" do %> + if @conn.request_path == "/policies/terms-use-charlie" || String.slice(@conn.request_path, 0..26) == "/policies/terms-use-charlie" do %> <% end %> <% title = if Phoenix.Controller.view_template(@conn) == "404.html", do: "Page Not Found | MBTA - Massachusetts Bay Transportation Authority", else: title_breadcrumbs(@conn) %>