Merge pull request #4462 from xfalcox/hide-names-about
FIX: Hide full names on /about for crawlers when names are disabled
This commit is contained in:
commit
d69cf820d8
|
@ -23,7 +23,7 @@
|
||||||
</span>
|
</span>
|
||||||
<span itemprop='name'>
|
<span itemprop='name'>
|
||||||
<%= user.username %>
|
<%= user.username %>
|
||||||
<% if user.name.present? %>
|
<% if user.name.present? && SiteSetting.enable_names %>
|
||||||
- <%= user.name %>
|
- <%= user.name %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
</span>
|
</span>
|
||||||
<span itemprop='name'>
|
<span itemprop='name'>
|
||||||
<%= user.username %>
|
<%= user.username %>
|
||||||
<% if user.name.present? %>
|
<% if user.name.present? && SiteSetting.enable_names %>
|
||||||
- <%= user.name %>
|
- <%= user.name %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue