mirror of
https://github.com/discourse/discourse.git
synced 2024-11-21 16:38:15 -06:00
FIX: include only author username in the schema (#25106)
This commit is contained in:
parent
5530cb574b
commit
69383e9afd
@ -53,8 +53,7 @@
|
||||
<% if @topic_view.prev_page %>
|
||||
<meta itemprop='datePublished' content='<%= @topic_view.topic.created_at.to_formatted_s(:iso8601) %>'>
|
||||
<span itemprop='author' itemscope itemtype="http://schema.org/Person">
|
||||
<link itemprop='url' href='<%= @topic_view.topic.user.username %>'>
|
||||
<meta itemprop='name' content='<%= Discourse.base_url %>/u/<%= @topic_view.topic.user.username %>'>
|
||||
<meta itemprop='name' content='<%= @topic_view.topic.user.username %>'>
|
||||
</span>
|
||||
<meta itemprop='text' content='<%= @topic_view.topic.excerpt %>'>
|
||||
<% end %>
|
||||
|
Loading…
Reference in New Issue
Block a user