2015-01-02 20:06:57 +08:00
|
|
|
<meta name="author" content="">
|
|
|
|
<meta name="generator" content="Discourse <%= Discourse::VERSION::STRING %> - https://github.com/discourse/discourse version <%= Discourse.git_version %>">
|
2015-10-02 08:12:58 +08:00
|
|
|
<%- if SiteSetting.favicon_url.present? %>
|
2015-01-02 20:06:57 +08:00
|
|
|
<link rel="icon" type="image/png" href="<%=SiteSetting.favicon_url%>">
|
2015-10-02 08:12:58 +08:00
|
|
|
<%- end %>
|
|
|
|
<%- if SiteSetting.apple_touch_icon_url.present? %>
|
2015-01-02 20:06:57 +08:00
|
|
|
<link rel="apple-touch-icon" type="image/png" href="<%=SiteSetting.apple_touch_icon_url%>">
|
2015-10-02 08:12:58 +08:00
|
|
|
<%- end %>
|
|
|
|
<%- if (SiteSetting.apple_touch_icon_url != "/images/default-apple-touch-icon.png") && SiteSetting.apple_touch_icon_url.present? %>
|
2017-09-08 15:18:30 +08:00
|
|
|
<link rel="icon" type="image/png" sizes="144x144" href="<%=SiteSetting.apple_touch_icon_url%>">
|
2015-10-02 08:12:58 +08:00
|
|
|
<%- end %>
|
2015-08-18 05:28:00 +08:00
|
|
|
<meta name="theme-color" content="#<%= ColorScheme.hex_for_name('header_background') %>">
|
2016-09-15 05:36:16 +08:00
|
|
|
<% if mobile_view? %>
|
|
|
|
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
|
|
<% else %>
|
2015-01-15 17:37:02 +08:00
|
|
|
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes">
|
2016-09-15 05:36:16 +08:00
|
|
|
<% end %>
|
2015-01-02 20:06:57 +08:00
|
|
|
<%= canonical_link_tag %>
|
2016-02-14 02:29:53 +08:00
|
|
|
<%= render_sitelinks_search_tag %>
|
2016-09-20 10:21:42 +08:00
|
|
|
<link rel="search" type="application/opensearchdescription+xml" href="<%= Discourse.base_url %>/opensearch.xml" title="<%= SiteSetting.title %> Search">
|