summaryrefslogtreecommitdiff
path: root/public/views/head.ejs
diff options
context:
space:
mode:
authorYukai Huang2016-10-13 11:42:17 +0800
committerYukai Huang2016-10-13 11:42:17 +0800
commit773c0ce39e2da7ea155949b5a6dae986a747e89a (patch)
tree40669290c9d3de36fa9a56c2af49b3c3a235429c /public/views/head.ejs
parent43c9f68b9a67fa7f5b3e5a7f0dc6d5f8c9114d20 (diff)
Optimize common assets with CDN
* jquery * lodash * socket.io * boostrap
Diffstat (limited to '')
-rw-r--r--public/views/head.ejs5
1 files changed, 2 insertions, 3 deletions
diff --git a/public/views/head.ejs b/public/views/head.ejs
index f4ba108a..67884495 100644
--- a/public/views/head.ejs
+++ b/public/views/head.ejs
@@ -8,17 +8,16 @@
<link rel="icon" type="image/png" href="<%- url %>/favicon.png">
<link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png">
<% if(useCDN) { %>
-<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
-<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/ionicons/2.0.1/css/ionicons.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.9.0/bootstrap-social.min.css">
<% } else { %>
-<link rel="stylesheet" href="<%- url %>/vendor/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="<%- url %>/vendor/Ionicons/css/ionicons.min.css">
<link rel="stylesheet" href="<%- url %>/vendor/octicons/octicons/octicons.css">
<link rel="stylesheet" href="<%- url %>/css/bootstrap-social.css">
<% } %>
+<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
+<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
<link rel="stylesheet" href="<%- url %>/vendor/jquery-ui/jquery-ui.min.css">
<link rel="stylesheet" href="<%- url %>/vendor/codemirror/lib/codemirror.css">
<link rel="stylesheet" href="<%- url %>/vendor/codemirror-spell-checker/spell-checker.min.css">