mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 03:25:31 -05:00
fe7883eeea
on iOS 10 behavior of zoom restriction has changed. This does not disable zooming on iOS 10 but it DOES stop it from randomly zooming when you are composing
20 lines
1.2 KiB
Text
20 lines
1.2 KiB
Text
<meta name="author" content="">
|
|
<meta name="generator" content="Discourse <%= Discourse::VERSION::STRING %> - https://github.com/discourse/discourse version <%= Discourse.git_version %>">
|
|
<%- if SiteSetting.favicon_url.present? %>
|
|
<link rel="icon" type="image/png" href="<%=SiteSetting.favicon_url%>">
|
|
<%- end %>
|
|
<%- if SiteSetting.apple_touch_icon_url.present? %>
|
|
<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%>">
|
|
<%- end %>
|
|
<meta name="theme-color" content="#<%= ColorScheme.hex_for_name('header_background') %>">
|
|
<% if mobile_view? %>
|
|
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<% else %>
|
|
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes">
|
|
<% end %>
|
|
<%= canonical_link_tag %>
|
|
<%= render_sitelinks_search_tag %>
|
|
<link rel="search" type="application/opensearchdescription+xml" href="<%= Discourse.base_url %>/opensearch.xml">
|