seo: add rel=nofollow to various internal search links.
Add rel=nofollow to various internal search links to prevent Google from attempting to crawl things like `<tag> status:deleted` or `approver:<name>` searches.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<% end %>
|
||||
<% t.column "Other Names", td: {class: "col-expand"} do |artist| %>
|
||||
<% artist.other_names.each do |name| %>
|
||||
<%= link_to name, artists_path(search: { any_name_matches: name }), class: "artist-other-name" %>
|
||||
<%= link_to name, artists_path(search: { any_name_matches: name }), class: "artist-other-name", rel: "nofollow" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% t.column "Status" do |artist| %>
|
||||
|
||||
Reference in New Issue
Block a user