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