mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:01:52 +08:00
remove csrf, font-face, css from js-off + crawler
This commit is contained in:
parent
6a6e254096
commit
5c92c39003
|
@ -5,8 +5,3 @@
|
||||||
<link rel="apple-touch-icon" type="image/png" href="<%=SiteSetting.apple_touch_icon_url%>">
|
<link rel="apple-touch-icon" type="image/png" href="<%=SiteSetting.apple_touch_icon_url%>">
|
||||||
|
|
||||||
<%= canonical_link_tag %>
|
<%= canonical_link_tag %>
|
||||||
|
|
||||||
<%= render partial: "common/special_font_face" %>
|
|
||||||
<%= render partial: "common/discourse_stylesheet" %>
|
|
||||||
|
|
||||||
<%= discourse_csrf_tags %>
|
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
<title><%= content_for?(:title) ? yield(:title) + ' - ' + SiteSetting.title : SiteSetting.title %></title>
|
<title><%= content_for?(:title) ? yield(:title) + ' - ' + SiteSetting.title : SiteSetting.title %></title>
|
||||||
<meta name="description" content="<%= @description_meta || SiteSetting.site_description %>">
|
<meta name="description" content="<%= @description_meta || SiteSetting.site_description %>">
|
||||||
<%= render partial: "layouts/head" %>
|
<%= render partial: "layouts/head" %>
|
||||||
|
<%= render partial: "common/special_font_face" %>
|
||||||
|
<%= render partial: "common/discourse_stylesheet" %>
|
||||||
|
<%= discourse_csrf_tags %>
|
||||||
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
|
|
||||||
<%- if SiteSetting.enable_escaped_fragments? %>
|
<%- if SiteSetting.enable_escaped_fragments? %>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user