Extract partial with common <head> tags.
This commit is contained in:
@@ -1,20 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="<%= I18n.locale %>" data-current-user-id="<%= current_user.try(:id) %>">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<%= render "layouts/common_head", default_title: setting['org_name'] %>
|
||||
<%= render "layouts/tracking_data" %>
|
||||
<%= render "layouts/meta_tags" %>
|
||||
<title><%= content_for?(:title) ? yield(:title) : setting['org_name'] %></title>
|
||||
<%= content_for :canonical %>
|
||||
<%= stylesheet_link_tag "application" %>
|
||||
<!--[if lt IE 9]>
|
||||
<%= stylesheet_link_tag "ie" %>
|
||||
<![endif]-->
|
||||
<%= javascript_include_tag "application", 'data-turbolinks-track' => true %>
|
||||
<%= csrf_meta_tags %>
|
||||
<%= favicon_link_tag "favicon.ico" %>
|
||||
<%= favicon_link_tag image_path_for("apple-touch-icon-200.png"),
|
||||
rel: "icon apple-touch-icon",
|
||||
sizes: "200x200",
|
||||
|
||||
Reference in New Issue
Block a user