Internet Explorer 8 was released in 2009 and people using it already know that most web pages look broken on it, so we don't need to warn them. Removing it makes our application layout file much easier to read and modify.
30 lines
967 B
Plaintext
30 lines
967 B
Plaintext
<!DOCTYPE html>
|
|
<html <%= common_html_attributes %> data-current-user-id="<%= current_user&.id %>">
|
|
<head>
|
|
<%= render "layouts/common_head", default_title: setting["org_name"] %>
|
|
<%= render "layouts/meta_tags" %>
|
|
<%= content_for :canonical %>
|
|
<%= favicon_link_tag image_path_for("apple-touch-icon-200.png"),
|
|
rel: "icon apple-touch-icon",
|
|
sizes: "200x200",
|
|
type: "image/png" %>
|
|
<%= content_for :social_media_meta_tags %>
|
|
|
|
<%= raw setting["html.per_page_code_head"] %>
|
|
</head>
|
|
<body class="<%= yield(:body_class) %> public">
|
|
<%= raw setting["html.per_page_code_body"] %>
|
|
|
|
<div class="wrapper <%= yield(:wrapper_class) %>">
|
|
<%= render "layouts/header", with_subnavigation: true %>
|
|
<%= render "layouts/flash" %>
|
|
|
|
<%= yield %>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<%= render Layout::FooterComponent.new %>
|
|
</div>
|
|
</body>
|
|
</html>
|