mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 07:12:46 +08:00
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.
This commit is contained in:
parent
56034c733a
commit
ffdacba219
|
@ -5,10 +5,7 @@
|
|||
<%- end %>
|
||||
<% site_apple_touch_icon_url = SiteSetting.site_apple_touch_icon_url %>
|
||||
<%- if site_apple_touch_icon_url.present? %>
|
||||
<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="apple-touch-icon" type="image/png" sizes="144x144" href="<%= site_apple_touch_icon_url %>">
|
||||
<link rel="apple-touch-icon" type="image/png" href="<%= UrlHelper.absolute(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