From ffdacba21961e515ac1bc658d598d497f4c1ac3f Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 29 Nov 2018 15:24:52 +0800 Subject: [PATCH] Remove extra `apple-touch-icon` link in head. The sizes attribute does not make a difference because both image provided is of the same size. --- app/views/layouts/_head.html.erb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index ad75304fff2..89933bb68a0 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -5,10 +5,7 @@ <%- end %> <% site_apple_touch_icon_url = SiteSetting.site_apple_touch_icon_url %> <%- if site_apple_touch_icon_url.present? %> - -<%- end %> -<%- if (site_apple_touch_icon_url != "/images/default-apple-touch-icon.png") && site_apple_touch_icon_url.present? %> - + <%- end %> <% if mobile_view? %>