mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-30 03:09:53 +01:00
Moved CSS above scripts to ensure CSS files are downloaded in parallel. This can improve page load speed in some browsers.
This commit is contained in:
@@ -14,6 +14,12 @@
|
||||
<!-- BEGIN pluginCSS -->
|
||||
<link rel="stylesheet" href="{pluginCSS.path}?{cache-buster}">
|
||||
<!-- END pluginCSS -->
|
||||
<!-- TODO : this has to be refactored, maybe configured from ACP? -baris -->
|
||||
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
|
||||
<!-- IF useCustomCSS -->
|
||||
<style type="text/css">{customCSS}</style>
|
||||
<!-- ENDIF useCustomCSS -->
|
||||
|
||||
<script>
|
||||
var RELATIVE_PATH = "{relative_path}";
|
||||
</script>
|
||||
@@ -31,12 +37,6 @@
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- TODO : this has to be refactored, maybe configured from ACP? -baris -->
|
||||
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
|
||||
<!-- IF useCustomCSS -->
|
||||
<style type="text/css">{customCSS}</style>
|
||||
<!-- ENDIF useCustomCSS -->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user