FIX: Hide full names on /about for crawlers when names are disabled
This commit is contained in:
parent
999f52954f
commit
108e3fdf97
|
@ -23,7 +23,7 @@
|
|||
</span>
|
||||
<span itemprop='name'>
|
||||
<%= user.username %>
|
||||
<% if user.name.present? %>
|
||||
<% if user.name.present? && SiteSetting.enable_names %>
|
||||
- <%= user.name %>
|
||||
<% end %>
|
||||
</span>
|
||||
|
@ -44,7 +44,7 @@
|
|||
</span>
|
||||
<span itemprop='name'>
|
||||
<%= user.username %>
|
||||
<% if user.name.present? %>
|
||||
<% if user.name.present? && SiteSetting.enable_names %>
|
||||
- <%= user.name %>
|
||||
<% end %>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue