mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:28:11 +08:00
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:
parent
d4aaa968bb
commit
0972516abe
|
@ -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? %>
|
||||
|
|
Loading…
Reference in New Issue
Block a user