artists: prevent Google from indexing banned artists.

Prevent search engines from indexing artist pages, wiki pages, and tag
searches for banned artists.
This commit is contained in:
evazion
2021-02-07 22:45:36 -06:00
parent e23f09235e
commit 7b4bab54af
8 changed files with 38 additions and 3 deletions

View File

@@ -14,9 +14,7 @@
<% canonical_url root_url(host: Danbooru.config.hostname) %>
<% end %>
<% if @post_set.hide_from_crawler? %>
<meta name="robots" content="nofollow,noindex">
<% end %>
<% noindex if @post_set.hide_from_crawler? %>
<% if @post_set.has_explicit? %>
<meta name="rating" content="adult">