seo: allow crawling /posts up to page 50.

This commit is contained in:
evazion
2020-06-27 18:10:14 -05:00
parent e2ec015603
commit c739e2b226

View File

@@ -111,7 +111,7 @@ module PostSets
end
def hide_from_crawler?
return true if current_page > 1
return true if current_page > 50
return false if query.is_empty_search? || query.is_simple_tag? || query.is_metatag?(:order, :rank)
true
end