2014-01-01 03:37:43 +08:00
|
|
|
<!DOCTYPE html>
|
2017-05-09 01:00:15 +08:00
|
|
|
<html<%= raw @embeddable_css_class -%>>
|
2014-01-01 03:37:43 +08:00
|
|
|
<head>
|
2015-09-19 04:12:41 +08:00
|
|
|
<meta charset="utf-8">
|
2019-09-13 02:14:32 +08:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes, viewport-fit=cover">
|
2021-06-18 10:16:26 +08:00
|
|
|
<%= discourse_stylesheet_link_tag 'embed', theme_id: nil %>
|
2015-08-07 05:18:00 +08:00
|
|
|
<%- unless customization_disabled? %>
|
2017-04-14 10:44:22 +08:00
|
|
|
<%= discourse_stylesheet_link_tag :embedded_theme %>
|
2015-08-07 05:18:00 +08:00
|
|
|
<%- end %>
|
2017-04-17 23:52:43 +08:00
|
|
|
<%= preload_script 'break_string' %>
|
2014-01-01 03:37:43 +08:00
|
|
|
|
2015-09-19 04:12:41 +08:00
|
|
|
<%- if @topic_view && @topic_view.page_title.present? %>
|
|
|
|
<title><%= @topic_view.page_title %> - <%= SiteSetting.title %></title>
|
|
|
|
<%- end %>
|
|
|
|
|
2019-09-11 00:27:07 +08:00
|
|
|
<meta id="data-embedded" data-referer="<%= @data_referer %>">
|
2018-11-22 23:02:58 +08:00
|
|
|
<%= preload_script 'embed-application' %>
|
2014-01-04 03:45:22 +08:00
|
|
|
|
2018-11-22 23:02:58 +08:00
|
|
|
<%= yield :head %>
|
2014-01-01 03:37:43 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<%= yield %>
|
|
|
|
</body>
|
2014-03-20 22:57:18 +08:00
|
|
|
</html>
|