FIX: make crawler linkback list compatible with google schema guidelines.
This commit is contained in:
parent
7a0d1cadc5
commit
ea423b471a
|
@ -105,11 +105,11 @@
|
|||
<% @topic_view.link_counts[post.id].each_with_index do |link, i| %>
|
||||
<% if link[:reflection] && link[:title].present? %>
|
||||
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
|
||||
<a href="<%=link[:url]%>" itemprop='item'>
|
||||
<a href="<%=link[:url]%>" itemscope itemtype='http://schema.org/DiscussionForumPosting' itemprop='item'>
|
||||
<meta itemprop='url' content='<%=link[:url]%>'>
|
||||
<meta itemprop='position' content='<%= i+1 %>'>
|
||||
<span itemprop='name'><%=link[:title]%></span>
|
||||
</a>
|
||||
<meta itemprop='position' content='<%= i+1 %>'>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue