2015-01-02 20:06:57 +08:00
|
|
|
<meta name="generator" content="Discourse <%= Discourse::VERSION::STRING %> - https://github.com/discourse/discourse version <%= Discourse.git_version %>">
|
2018-11-14 15:03:02 +08:00
|
|
|
<%- if SiteSetting.site_favicon_url.present? %>
|
|
|
|
<link rel="icon" type="image/png" href="<%=SiteSetting.site_favicon_url%>">
|
2015-10-02 08:12:58 +08:00
|
|
|
<%- end %>
|
2018-11-14 15:03:02 +08:00
|
|
|
<% site_apple_touch_icon_url = SiteSetting.site_apple_touch_icon_url %>
|
|
|
|
<%- if site_apple_touch_icon_url.present? %>
|
2019-04-30 14:58:18 +08:00
|
|
|
<link rel="apple-touch-icon" type="image/png" href="<%= ::UrlHelper.absolute(site_apple_touch_icon_url) %>">
|
2015-10-02 08:12:58 +08:00
|
|
|
<%- end %>
|
2018-09-12 09:04:58 +08:00
|
|
|
<meta name="theme-color" content="#<%= ColorScheme.hex_for_name('header_background', scheme_id) %>">
|
2019-05-06 22:26:24 +08:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes, viewport-fit=cover">
|
2020-10-09 19:51:24 +08:00
|
|
|
<%- if Discourse.base_path.present? %>
|
|
|
|
<meta name="discourse-base-uri" content="<%= Discourse.base_path %>">
|
2018-10-30 19:53:57 +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">
|