discourse/app/views/layouts/embed.html.erb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
793 B
Plaintext
Raw Normal View History

<!DOCTYPE html>
<html<%= raw @embeddable_css_class -%>>
<head>
<meta charset="utf-8">
<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 %>
<%- unless customization_disabled? %>
2017-04-14 10:44:22 +08:00
<%= discourse_stylesheet_link_tag :embedded_theme %>
<%- end %>
<%= preload_script 'break_string' %>
<%- if @topic_view && @topic_view.page_title.present? %>
<title><%= @topic_view.page_title %> - <%= SiteSetting.title %></title>
<%- end %>
<meta id="data-embedded" data-referer="<%= @data_referer %>">
<%= preload_script 'embed-application' %>
<%= yield :head %>
</head>
<body>
<%= yield %>
</body>
</html>