FIX: Hide full names on /about for crawlers when names are disabled

This commit is contained in:
Rafael dos Santos Silva 2016-09-26 16:31:39 -03:00
parent 999f52954f
commit 108e3fdf97
1 changed files with 2 additions and 2 deletions

View File

@ -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>