From 108e3fdf976df22c3e00474f6b1257de7b60a89a Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Mon, 26 Sep 2016 16:31:39 -0300 Subject: [PATCH] FIX: Hide full names on /about for crawlers when names are disabled --- app/views/about/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/about/index.html.erb b/app/views/about/index.html.erb index e669e15596c..67b9d3240fe 100644 --- a/app/views/about/index.html.erb +++ b/app/views/about/index.html.erb @@ -23,7 +23,7 @@ <%= user.username %> - <% if user.name.present? %> + <% if user.name.present? && SiteSetting.enable_names %> - <%= user.name %> <% end %> @@ -44,7 +44,7 @@ <%= user.username %> - <% if user.name.present? %> + <% if user.name.present? && SiteSetting.enable_names %> - <%= user.name %> <% end %>