From 4c1109b70bd31090e410850dee0a39e6edf1a19a Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Fri, 14 Oct 2016 09:56:19 +0800
Subject: Move gist-embed to CDN
---
public/js/public.js | 2 --
public/views/foot.ejs | 1 +
public/views/pretty.ejs | 1 +
public/views/slide.ejs | 1 +
4 files changed, 3 insertions(+), 2 deletions(-)
(limited to 'public')
diff --git a/public/js/public.js b/public/js/public.js
index af8c0924..f83ef41f 100644
--- a/public/js/public.js
+++ b/public/js/public.js
@@ -5,9 +5,7 @@ require('prismjs/themes/prism.css');
require('highlight.js/styles/github-gist.css');
/* other vendors plugin */
-require('gist-embed');
require('string');
-require('highlight.js');
require('prismjs');
require('prismjs/components/prism-wiki');
require('to-markdown');
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index f1bc0c5d..e2af5b0e 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -24,6 +24,7 @@
+
<%- include build/index-scripts %>
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index 8968fec3..4f6e7a4d 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -103,6 +103,7 @@
+
diff --git a/public/views/slide.ejs b/public/views/slide.ejs
index 089ced37..f7e17eea 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -105,6 +105,7 @@
+
<%- include build/slide-scripts %>
--
cgit v1.2.3