iqdb: block crawling of Find Similar links.

This commit is contained in:
evazion
2021-02-16 15:32:43 -06:00
parent 1fa049a18e
commit 75b0c9e9aa
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
<% page_title "Similar Images Search" %> <% page_title "Similar Images Search" %>
<% noindex if params[:search].present? %>
<div id="c-iqdb-queries"> <div id="c-iqdb-queries">
<div id="a-check"> <div id="a-check">

View File

@@ -13,7 +13,7 @@
</li> </li>
<% end %> <% end %>
<li id="post-option-find-similar"> <li id="post-option-find-similar">
<%= link_to "Find similar", iqdb_queries_path(post_id: post.id) %> <%= link_to "Find similar", iqdb_queries_path(post_id: post.id), ref: "nofollow" %>
</li> </li>
<% if policy(post).visible? %> <% if policy(post).visible? %>
<li id="post-option-download"> <li id="post-option-download">