update themes and transitions
to match reveal.js 3.0.0
diff --git a/inst/rmarkdown/templates/revealjs_presentation/default.html b/inst/rmarkdown/templates/revealjs_presentation/default.html
index f1a473f..7cf650f 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/default.html
+++ b/inst/rmarkdown/templates/revealjs_presentation/default.html
@@ -12,7 +12,7 @@
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="$revealjs-url$/css/reveal.min.css"/>
<!-- some tweaks to reveal css -->
@@ -96,15 +96,13 @@
<link rel="stylesheet" href="$css$"/>
$endfor$
$endif$
- <!-- If the query includes 'print-pdf', include the PDF print sheet -->
+ <!-- Printing and PDF exports -->
<script>
- if( window.location.search.match( /print-pdf/gi ) ) {
- var link = document.createElement( 'link' );
- link.rel = 'stylesheet';
- link.type = 'text/css';
- link.href = '$revealjs-url$/css/print/pdf.css';
- document.getElementsByTagName( 'head' )[0].appendChild( link );
- }
+ var link = document.createElement( 'link' );
+ link.rel = 'stylesheet';
+ link.type = 'text/css';
+ link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
+ document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!--[if lt IE 9]>
<script src="$revealjs-url$/lib/js/html5shiv.js"></script>