add image type attribute to icon link tag

This commit is contained in:
Arpit Jalan 2017-09-08 12:48:30 +05:30
parent 84031c5cb9
commit 6d35b62238
1 changed files with 1 additions and 1 deletions

View File

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