@@ -16,30 +16,19 @@ $endif$
16 <meta name="apple-mobile-web-app-capable" content="yes">
16 <meta name="apple-mobile-web-app-capable" content="yes">
17 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
17 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
18 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
18 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
19− <link rel="stylesheet" href="$revealjs-url$/css/reset.css">
19+ <link rel="stylesheet" href="$revealjs-url$/dist/reset.css">
20− <link rel="stylesheet" href="$revealjs-url$/css/reveal.css">
20+ <link rel="stylesheet" href="$revealjs-url$/dist/reveal.css">
22 $styles.html()$
22 $styles.html()$
24$if(theme)$
24$if(theme)$
25− <link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme">
25+ <link rel="stylesheet" href="$revealjs-url$/dist/theme/$theme$.css" id="theme">
27− <link rel="stylesheet" href="$revealjs-url$/css/theme/black.css" id="theme">
27+ <link rel="stylesheet" href="$revealjs-url$/dist/theme/black.css" id="theme">
30 <link rel="stylesheet" href="$css$"/>
30 <link rel="stylesheet" href="$css$"/>
32− <!-- Printing and PDF exports -->
34− var link = document.createElement( 'link' );
35− link.rel = 'stylesheet';
36− link.type = 'text/css';
37− link.href = window.location.search.match( /print-pdf/gi ) ? '$revealjs-url$/css/print/pdf.css' : '$revealjs-url$/css/print/paper.css';
38− document.getElementsByTagName( 'head' )[0].appendChild( link );
41− <script src="$revealjs-url$/lib/js/html5shiv.js"></script>
@@ -78,12 +67,20 @@ $body$
81− <script src="$revealjs-url$/js/reveal.js"></script>
70+ <script src="$revealjs-url$/dist/reveal.js"></script>
73+ <script src="$revealjs-url$/plugin/notes/notes.js"></script>
74+ <script src="$revealjs-url$/plugin/search/search.js"></script>
75+ <script src="$revealjs-url$/plugin/zoom/zoom.js"></script>
77+ <script src="$revealjs-url$/plugin/math/math.js"></script>
85 // Full list of configuration options available at:
82 // Full list of configuration options available at:
86− // https://github.com/hakimel/reveal.js#configuration
83+ // https://revealjs.com/config/
87 Reveal.initialize({
84 Reveal.initialize({
88$if(controls)$
85$if(controls)$
89 // Display controls in the bottom right corner
86 // Display controls in the bottom right corner
@@ -147,7 +144,7 @@ $if(rtl)$
147 rtl: $rtl$,
144 rtl: $rtl$,
149$if(navigationMode)$
146$if(navigationMode)$
150− // see https://github.com/hakimel/reveal.js/#navigation-mode
147+ // see https://revealjs.com/vertical-slides/#navigation-mode
151 navigationMode: '$navigationMode$',
148 navigationMode: '$navigationMode$',
153$if(shuffle)$
150$if(shuffle)$
@@ -341,18 +338,14 @@ $if(mathjax)$
344− // Optional reveal.js plugins
341+ // reveal.js plugins
345− dependencies: [
342+ plugins: [
346− { src: '$revealjs-url$/lib/js/classList.js', condition: function() { return !document.body.classList; } },
347− { src: '$revealjs-url$/plugin/zoom-js/zoom.js', async: true },
349− { src: '$revealjs-url$/socket.io/socket.io.js', async: true },
350− { src: '$revealjs-url$/plugin/notes-server/client.js', async: true },
352$if(mathjax)$
343$if(mathjax)$
353− { src: '$revealjs-url$/plugin/math/math.js', async: true },
344+ RevealMath,
355− { src: '$revealjs-url$/plugin/notes/notes.js', async: true }
346+ RevealNotes,
358 </script>
351 </script>