From 5c92c390037d2bf92dcefbae9971556949fcb9e1 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Thu, 15 Jan 2015 00:41:30 -0800 Subject: [PATCH] remove csrf, font-face, css from js-off + crawler --- app/views/layouts/_head.html.erb | 5 ----- app/views/layouts/application.html.erb | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index e586fe4cb..83a0bb75b 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -5,8 +5,3 @@ <%= canonical_link_tag %> - -<%= render partial: "common/special_font_face" %> -<%= render partial: "common/discourse_stylesheet" %> - -<%= discourse_csrf_tags %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index a99675e83..fccbfb268 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -5,6 +5,9 @@ <%= content_for?(:title) ? yield(:title) + ' - ' + SiteSetting.title : SiteSetting.title %> <%= render partial: "layouts/head" %> + <%= render partial: "common/special_font_face" %> + <%= render partial: "common/discourse_stylesheet" %> + <%= discourse_csrf_tags %> <%- if SiteSetting.enable_escaped_fragments? %>