Skip to content

A platform for community discussion. Free, open, simple.

Move CSS link tags above JS in the head

Paweł Kowalski96aca6d99439
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index b79c327d5bc..165ece79e1e 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -9,6 +9,8 @@
<%= render partial: "layouts/head" %>
<%= discourse_csrf_tags %>
+ <%= render partial: "common/discourse_stylesheet" %>
+
<%- if SiteSetting.enable_escaped_fragments? %>
<meta name="fragment" content="!">
<%- end %>
@@ -51,7 +53,6 @@
<meta name="apple-itunes-app" content="app-id=<%= SiteSetting.ios_app_id %><%= ios_app_argument %>">
<%- end %>
- <%= render partial: "common/discourse_stylesheet" %>
<%= yield :head %>