From 142b4c6771f99daef4ea5063a30b36e2b510c8ac Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Fri, 14 Oct 2016 09:21:41 +0800
Subject: Move highlight.js to CDN
---
package.json | 1 -
public/views/foot.ejs | 1 +
public/views/index.ejs | 1 +
public/views/pretty.ejs | 1 +
public/views/slide.ejs | 1 +
webpackBaseConfig.js | 3 ++-
6 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
index 6b313bef..1e693483 100644
--- a/package.json
+++ b/package.json
@@ -32,7 +32,6 @@
"gist-embed": "github:yukaii/gist-embed",
"handlebars": "^4.0.5",
"helmet": "^2.3.0",
- "highlight.js": "^9.7.0",
"i18n": "^0.8.3",
"imgur": "git+https://github.com/hackmdio/node-imgur.git",
"jquery": "^3.1.1",
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index 4294070e..f1bc0c5d 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -23,6 +23,7 @@
+
<%- include build/index-scripts %>
diff --git a/public/views/index.ejs b/public/views/index.ejs
index 4ab3cdec..bdfe0580 100644
--- a/public/views/index.ejs
+++ b/public/views/index.ejs
@@ -208,6 +208,7 @@
+
<%- include build/cover-scripts %>