Add nofollow metatag to untrusted pages (#611)

This commit is contained in:
Ben Halpern 2018-07-21 13:15:38 -04:00 committed by GitHub
parent 209053dd9d
commit 0327585b03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,7 @@
<% if (@article.positive_reactions_count < 8 && @article.user.comments_count < 1 && !@article.featured) ||
@article.featured_number < 1500000000 %>
<meta name="googlebot" content="noindex">
<meta name="googlebot" content="nofollow">
<% end %>
<% end %>