summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYukai Huang2016-11-02 11:59:45 +0800
committerYukai Huang2016-11-02 11:59:45 +0800
commit3e23009663d72526f393348f91e45fde93f67236 (patch)
tree5c399c1d01b76b54971208a3f271e80519e1da9f
parent58fedb01faf8175d8454ff7edcb531cf36cef5c4 (diff)
Require slide mode stylesheets
-rw-r--r--public/js/slide.js3
-rw-r--r--public/views/slide.ejs5
2 files changed, 5 insertions, 3 deletions
diff --git a/public/js/slide.js b/public/js/slide.js
index 16ea6b8f..b9521e64 100644
--- a/public/js/slide.js
+++ b/public/js/slide.js
@@ -1,3 +1,6 @@
+require('../css/extra.css');
+require('../css/site.css');
+require('../css/slide.css');
/* other vendors plugin */
var S = require('string');
diff --git a/public/views/slide.ejs b/public/views/slide.ejs
index 1fdb7f8f..4545ade7 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -36,9 +36,8 @@
<link rel="stylesheet" href="<%- url %>/css/mermaid.css">
<link rel="stylesheet" href='<%- url %>/css/markdown.css'>
<link rel="stylesheet" href='<%- url %>/vendor/emojify.js/dist/css/basic/emojify.min.css'>
- <link rel="stylesheet" href='<%- url %>/css/extra.css'>
- <link rel="stylesheet" href="<%- url %>/css/site.css">
- <link rel="stylesheet" href="<%- url %>/css/slide.css">
+
+ <%- include build/slide-header %>
<!-- Printing and PDF exports -->
<script>