mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FEATURE: Take advantage of Android browser features
Declare a theme-color, provide high-resolution icon.
This commit is contained in:
parent
9f75870d99
commit
7b5dea6481
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
|||
|
||||
<link rel="icon" type="image/png" href="<%=SiteSetting.favicon_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">
|
||||
|
||||
|
|
Loading…
Reference in a new issue