A platform for community discussion. Free, open, simple.
FIX: remove like_count and <hr> tag from post crawler layout (#7413)
Saurabh Patel3658be42f5bd
diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erbindex 78bb29dc310..633002641aa 100644--- a/app/views/topics/show.html.erb+++ b/app/views/topics/show.html.erb@@ -73,9 +73,8 @@<meta itemprop='interactionCount' content='UserComments:<%= post.reply_count %>'><meta itemprop='headline' content='<%= @topic_view.title %>'><div class='clearfix'>- <span class='post-likes'><%= t('post.has_likes', count: post.like_count) %></span>+ <span class='post-likes'><%= post.like_count > 0 ? t('post.has_likes', count: post.like_count) : '' %></span></div>- <hr><% if @topic_view.link_counts[post.id] && @topic_view.link_counts[post.id].length > 0 %><% @topic_view.link_counts[post.id].each do |link| %><% if link[:reflection] && link[:title].present? %>