diff --git a/app/views/iqdb_queries/show.html.erb b/app/views/iqdb_queries/show.html.erb index b50d26274..ecbf4eb70 100644 --- a/app/views/iqdb_queries/show.html.erb +++ b/app/views/iqdb_queries/show.html.erb @@ -1,4 +1,5 @@ <% page_title "Similar Images Search" %> +<% noindex if params[:search].present? %>
diff --git a/app/views/posts/partials/show/_options.html.erb b/app/views/posts/partials/show/_options.html.erb index 17c4df489..ae66430f2 100644 --- a/app/views/posts/partials/show/_options.html.erb +++ b/app/views/posts/partials/show/_options.html.erb @@ -13,7 +13,7 @@ <% end %>
  • - <%= link_to "Find similar", iqdb_queries_path(post_id: post.id) %> + <%= link_to "Find similar", iqdb_queries_path(post_id: post.id), ref: "nofollow" %>
  • <% if policy(post).visible? %>