Fix story author microformat tag.
The author entity was specified as a u-url instead of as a u-author.
This commit is contained in:
parent
ecefb37e8c
commit
0c5e22ba5c
|
@ -77,7 +77,7 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %>
|
|||
<% else %>
|
||||
via
|
||||
<% end %>
|
||||
<a href="/u/<%= ms.user.username %>" class="h-card u-url <%=
|
||||
<a href="/u/<%= ms.user.username %>" class="u-author h-card <%=
|
||||
ms.html_class_for_user %>"><%= ms.user.username %></a>
|
||||
|
||||
<%= time_ago_in_words_label(ms.created_at) %>
|
||||
|
@ -110,7 +110,7 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %>
|
|||
<% else %>
|
||||
via
|
||||
<% end %>
|
||||
<a class="h-card u-url <%= story.html_class_for_user %>"><%=
|
||||
<a class="u-author h-card <%= story.html_class_for_user %>"><%=
|
||||
story.user.username %></a>
|
||||
just now
|
||||
<% else %>
|
||||
|
@ -119,7 +119,7 @@ class="story <%= story.vote && story.vote[:vote] == 1 ? "upvoted" : "" %>
|
|||
<% else %>
|
||||
via
|
||||
<% end %>
|
||||
<a href="/u/<%= story.user.username %>" class="h-card u-url <%=
|
||||
<a href="/u/<%= story.user.username %>" class="u-author h-card <%=
|
||||
story.html_class_for_user %>"><%= story.user.username %></a>
|
||||
|
||||
<%= time_ago_in_words_label(story.created_at) %>
|
||||
|
|
Loading…
Reference in New Issue