mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 14:49:07 +08:00
add headline itemprop to DiscussionForumPosting for crawlers
This commit is contained in:
parent
797313a28d
commit
7496f373cd
|
@ -59,6 +59,7 @@
|
||||||
</div>
|
</div>
|
||||||
<meta itemprop='interactionCount' content='UserLikes:<%= post.like_count %>'>
|
<meta itemprop='interactionCount' content='UserLikes:<%= post.like_count %>'>
|
||||||
<meta itemprop='interactionCount' content='UserComments:<%= post.reply_count %>'>
|
<meta itemprop='interactionCount' content='UserComments:<%= post.reply_count %>'>
|
||||||
|
<meta itemprop='headline' content='<%= @topic_view.title %>'>
|
||||||
<hr>
|
<hr>
|
||||||
<% if @topic_view.link_counts[post.id] && @topic_view.link_counts[post.id].length > 0 %>
|
<% if @topic_view.link_counts[post.id] && @topic_view.link_counts[post.id].length > 0 %>
|
||||||
<% @topic_view.link_counts[post.id].each do |link| %>
|
<% @topic_view.link_counts[post.id].each do |link| %>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user