summaryrefslogtreecommitdiff
path: root/public/views/slide.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'public/views/slide.ejs')
-rw-r--r--public/views/slide.ejs4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/views/slide.ejs b/public/views/slide.ejs
index 26c38bba..7ff5016e 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -30,7 +30,11 @@
<% } %>
<!-- For reveal.js theme -->
+ <% if(typeof theme !== 'undefined' && theme) { %>
+ <link rel="stylesheet" href="<%- url %>/build/reveal.js/css/theme/<%= theme %>.css" id="theme">
+ <% } else { %>
<link rel="stylesheet" href="<%- url %>/build/reveal.js/css/theme/black.css" id="theme">
+ <% } %>
<!-- For syntax highlighting -->
<link rel="stylesheet" href="<%- url %>/build/reveal.js/lib/css/zenburn.css">
<!-- For overwrite reveal.js -->