aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Browne <aaron0browne@gmail.com>2015-01-31 15:10:25 -0500
committerAaron Browne <aaron0browne@gmail.com>2015-01-31 16:00:17 -0500
commit066b307b63fdf4d92a769f13f9df97aa47b11644 (patch)
tree302a7b93ef77245137f510ae768772f16c433401
parentcc302d99be66e4986807d5ec5f82ebf2ac38d643 (diff)
downloadpandoc-066b307b63fdf4d92a769f13f9df97aa47b11644.tar.gz
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>
-rw-r--r--default.revealjs5
1 files changed, 5 insertions, 0 deletions
diff --git a/default.revealjs b/default.revealjs
index f08f64791..dc4162820 100644
--- a/default.revealjs
+++ b/default.revealjs
@@ -27,6 +27,11 @@ $endfor$
$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 ) ) {