add rel=nofollow in more places

This commit is contained in:
r888888888
2016-02-03 23:47:17 -08:00
parent 340a62b49f
commit 504674b288
6 changed files with 9 additions and 8 deletions

View File

@@ -105,8 +105,8 @@ private
end
if CurrentUser.user.is_gold? && current_query.present?
html << %{<a href="/posts?tags=#{u(current_query)}+#{u(tag)}" class="search-inc-tag">+</a> }
html << %{<a href="/posts?tags=#{u(current_query)}+-#{u(tag)}" class="search-exl-tag">&ndash;</a> }
html << %{<a rel="nofollow" href="/posts?tags=#{u(current_query)}+#{u(tag)}" class="search-inc-tag">+</a> }
html << %{<a rel="nofollow" href="/posts?tags=#{u(current_query)}+-#{u(tag)}" class="search-exl-tag">&ndash;</a> }
end
end