mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 20:45:53 +08:00
ffdacba219
The sizes attribute does not make a difference because both image provided is of the same size.
22 lines
1.2 KiB
Plaintext
22 lines
1.2 KiB
Plaintext
<meta name="author" content="">
|
|
<meta name="generator" content="Discourse <%= Discourse::VERSION::STRING %> - https://github.com/discourse/discourse version <%= Discourse.git_version %>">
|
|
<%- if SiteSetting.site_favicon_url.present? %>
|
|
<link rel="icon" type="image/png" href="<%=SiteSetting.site_favicon_url%>">
|
|
<%- end %>
|
|
<% site_apple_touch_icon_url = SiteSetting.site_apple_touch_icon_url %>
|
|
<%- if site_apple_touch_icon_url.present? %>
|
|
<link rel="apple-touch-icon" type="image/png" href="<%= UrlHelper.absolute(site_apple_touch_icon_url) %>">
|
|
<%- end %>
|
|
<meta name="theme-color" content="#<%= ColorScheme.hex_for_name('header_background', scheme_id) %>">
|
|
<% 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 %>
|
|
<%- if Discourse.base_uri.present? %>
|
|
<meta name="discourse-base-uri" content="<%= Discourse.base_uri %>">
|
|
<% end %>
|
|
<%= canonical_link_tag %>
|
|
<%= render_sitelinks_search_tag %>
|
|
<link rel="search" type="application/opensearchdescription+xml" href="<%= Discourse.base_url %>/opensearch.xml" title="<%= SiteSetting.title %> Search">
|