changeset 252:f879dc744196

Merge pull request #81 from aaron0browne/issue-80 Fix revealjs theme functionality
author John MacFarlane <jgm@berkeley.edu>
date Sat, 31 Jan 2015 19:49:12 -0800
parents d84162caa3d6 (current diff) acee6f905576 (diff)
children 4b0fccdedfc7
files
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/default.revealjs	Tue Jan 20 17:17:19 2015 -0800
+++ b/default.revealjs	Sat Jan 31 19:49:12 2015 -0800
@@ -27,6 +27,11 @@
 $else$
     <link rel="stylesheet" href="$revealjs-url$/css/theme/simple.css" id="theme">
 $endif$
+$if(theme)$
+    <link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme">
+$else$
+    <link rel="stylesheet" href="$revealjs-url$/css/theme/black.css" id="theme">
+$endif$
     <!-- If the query includes 'print-pdf', include the PDF print sheet -->
     <script>
       if( window.location.search.match( /print-pdf/gi ) ) {