changeset 251:acee6f905576

Fix revealjs theme functionality Use up-to-date theme as link convention for revealjs. Leave old theme as config option just in case. Match current revealjs behavior of defaulting to "black" theme. Fixes #80 Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
author Aaron Browne <aaron0browne@gmail.com>
date Sat, 31 Jan 2015 15:10:25 -0500
parents d84162caa3d6
children f879dc744196
files default.revealjs
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 15:10:25 2015 -0500
@@ -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 ) ) {