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:
@@ -1,6 +1,10 @@
|
||||
<% page_title "#{@wiki_page.pretty_title.titleize} Wiki" %>
|
||||
<% meta_description DText.excerpt(@wiki_page.body) %>
|
||||
|
||||
<% if @wiki_page.artist.present? && @wiki_page.artist.is_banned? %>
|
||||
<% noindex %>
|
||||
<% end %>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
<%= render "sidebar" %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user