add headline itemprop to DiscussionForumPosting for crawlers

This commit is contained in:
Neil Lalonde 2017-03-02 12:35:50 -05:00
parent 797313a28d
commit 7496f373cd

View File

@ -59,6 +59,7 @@
</div>
<meta itemprop='interactionCount' content='UserLikes:<%= post.like_count %>'>
<meta itemprop='interactionCount' content='UserComments:<%= post.reply_count %>'>
<meta itemprop='headline' content='<%= @topic_view.title %>'>
<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| %>