mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-16 09:01:15 +08:00
This JS was used to wrap long usernames. Nowadays in core, we use a simpler `word-break: break-all;` pattern, so it makes sense to use the same simplification in the embedded comments view.
24 lines
795 B
Text
24 lines
795 B
Text
<!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">
|
|
<%= discourse_stylesheet_link_tag 'embed', theme_id: nil %>
|
|
<%- unless customization_disabled? %>
|
|
<%= discourse_stylesheet_link_tag :embedded_theme %>
|
|
<%- end %>
|
|
|
|
<%- 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>
|
|
<%= theme_lookup("embedded_header") %>
|
|
<%= yield %>
|
|
</body>
|
|
</html>
|