seo: prevent crawlers from crawling /posts/:id/favorites.

This commit is contained in:
evazion
2021-12-09 23:47:52 -06:00
parent 4021ddb579
commit bf022e858a
5 changed files with 7 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
<li id="post-info-favorites">
Favorites:
<%= tag.span class: "post-favcount", "data-id": post.id do %>
<%= link_to post.fav_count, post_favorites_path(post) %>
<%= link_to post.fav_count, post_favorites_path(post), rel: "nofollow" %>
<% end %>
</li>
<li id="post-info-status">