FIX: Incorrect "rel" used for apple icons in <head>.

Nothing on the web I can find suggests that this should have been `rel=icon`.
See https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
This commit is contained in:
Guo Xiang Tan 2018-11-26 10:40:09 +08:00
parent d4aaa968bb
commit 0972516abe

View File

@ -8,7 +8,7 @@
<link rel="apple-touch-icon" type="image/png" href="<%= site_apple_touch_icon_url %>">
<%- end %>
<%- if (site_apple_touch_icon_url != "/images/default-apple-touch-icon.png") && site_apple_touch_icon_url.present? %>
<link rel="icon" type="image/png" sizes="144x144" href="<%= site_apple_touch_icon_url %>">
<link rel="apple-touch-icon" type="image/png" sizes="144x144" href="<%= site_apple_touch_icon_url %>">
<%- end %>
<meta name="theme-color" content="#<%= ColorScheme.hex_for_name('header_background', scheme_id) %>">
<% if mobile_view? %>