FEATURE: Take advantage of Android browser features

Declare a theme-color, provide high-resolution icon.
This commit is contained in:
Kane York 2015-08-17 14:28:00 -07:00
parent 9f75870d99
commit 7b5dea6481

View File

@ -3,6 +3,10 @@
<link rel="icon" type="image/png" href="<%=SiteSetting.favicon_url%>"> <link rel="icon" type="image/png" href="<%=SiteSetting.favicon_url%>">
<link rel="apple-touch-icon" type="image/png" href="<%=SiteSetting.apple_touch_icon_url%>"> <link rel="apple-touch-icon" type="image/png" href="<%=SiteSetting.apple_touch_icon_url%>">
<% if SiteSetting.apple_touch_icon_url != "/images/default-apple-touch-icon.png" %>
<link rel="icon" sizes="144x144" href="<%=SiteSetting.apple_touch_icon_url%>">
<% end %>
<meta name="theme-color" content="#<%= ColorScheme.hex_for_name('header_background') %>">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes"> <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes">