FIX: make crawler linkback list compatible with google schema guidelines.

FIX: make crawler linkback list compatible with google schema guidelines.

diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb
index a395d43..30b2cc4 100644
--- a/app/views/topics/show.html.erb
+++ b/app/views/topics/show.html.erb
@@ -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 %>

GitHub sha: ea423b47

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/itemlist-schema-structured-data-error/159092/8