blob: fa582203dc797d0186d1bb7bcb362c4fbb8040e4 [file] [log] [blame]
JJ Allaire2ec40242014-09-15 09:18:39 -04001<!DOCTYPE html>
2<html$if(lang)$ lang="$lang$"$endif$>
3<head>
4 <meta charset="utf-8">
5 <meta name="generator" content="pandoc">
6$for(author-meta)$
7 <meta name="author" content="$author-meta$" />
8$endfor$
9$if(date-meta)$
10 <meta name="dcterms.date" content="$date-meta$" />
11$endif$
12 <title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
13 <meta name="apple-mobile-web-app-capable" content="yes" />
14 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
junkka77fbf082015-03-15 22:25:47 +010015 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
JJ Allaire2ec40242014-09-15 09:18:39 -040016 <link rel="stylesheet" href="$revealjs-url$/css/reveal.min.css"/>
17
18 <!-- some tweaks to reveal css -->
19 <style type="text/css">
20 .reveal h1 { font-size: 2.0em; }
21 .reveal h2 { font-size: 1.5em; }
22 .reveal h3 { font-size: 1.25em; }
23 .reveal h4 { font-size: 1em; }
24
25 .reveal .slides>section,
26 .reveal .slides>section>section {
27 padding: 0px 0px;
28 }
29
30$if(center)$
31
32$else$
33 .reveal .title {
34 margin-top: 125px;
35 margin-bottom: 50px;
36 }
37$endif$
38
39 .reveal table {
40 border-width: 1px;
41 border-spacing: 2px;
42 border-style: dotted;
43 border-color: gray;
44 border-collapse: collapse;
45 font-size: 0.7em;
46 }
47
48 .reveal table th {
49 border-width: 1px;
50 padding-left: 10px;
51 padding-right: 25px;
52 font-weight: bold;
53 border-style: dotted;
54 border-color: gray;
55 }
56
57 .reveal table td {
58 border-width: 1px;
59 padding-left: 10px;
60 padding-right: 25px;
61 border-style: dotted;
62 border-color: gray;
63 }
64
65 </style>
66
67 <style type="text/css">code{white-space: pre;}</style>
68
69$if(highlightjs)$
70<link rel="stylesheet"
71 href="$highlightjs$/$if(highlightjs-theme)$$highlightjs-theme$$else$default$endif$.css"
72 $if(html5)$$else$type="text/css" $endif$/>
73<script src="$highlightjs$/highlight.js"></script>
74$endif$
75
76$if(highlighting-css)$
77<style type="text/css">
78$highlighting-css$
79</style>
80$endif$
81
82$if(theme)$
83<link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme">
84$endif$
85
86$if(theme-dark)$
87<style type="text/css">
88.reveal section img {
89 background: rgba(255, 255, 255, 0.85);
90}
91</style>
92$endif$
93
94$if(css)$
95$for(css)$
96 <link rel="stylesheet" href="$css$"/>
97$endfor$
98$endif$
junkka77fbf082015-03-15 22:25:47 +010099 <!-- Printing and PDF exports -->
JJ Allaire2ec40242014-09-15 09:18:39 -0400100 <script>
junkka77fbf082015-03-15 22:25:47 +0100101 var link = document.createElement( 'link' );
102 link.rel = 'stylesheet';
103 link.type = 'text/css';
Greg Blomquistab7a4aa2015-05-31 21:34:51 -0500104 link.href = window.location.search.match( /print-pdf/gi ) ? '$revealjs-url$/css/print/pdf.css' : '$revealjs-url$/css/print/paper.css';
junkka77fbf082015-03-15 22:25:47 +0100105 document.getElementsByTagName( 'head' )[0].appendChild( link );
JJ Allaire2ec40242014-09-15 09:18:39 -0400106 </script>
107 <!--[if lt IE 9]>
108 <script src="$revealjs-url$/lib/js/html5shiv.js"></script>
109 <![endif]-->
110
111$for(header-includes)$
112 $header-includes$
113$endfor$
114</head>
115<body>
116$for(include-before)$
117$include-before$
118$endfor$
119 <div class="reveal">
120 <div class="slides">
121
122$if(title)$
123<section>
124 <h1 class="title">$title$</h1>
125$if(subtitle)$
126 <h1 class="subtitle">$subtitle$</h1>
127$endif$
128$for(author)$
129 <h2 class="author">$author$</h2>
130$endfor$
131 <h3 class="date">$date$</h3>
132</section>
133$endif$
134$if(toc)$
135<section id="$idprefix$TOC">
136$toc$
137</section>
138$endif$
139
140$body$
141 </div>
142 </div>
143$for(include-after)$
144$include-after$
145$endfor$
146
147 <script src="$revealjs-url$/lib/js/head.min.js"></script>
148 <script src="$revealjs-url$/js/reveal.min.js"></script>
149
150 <script>
151
152 // Full list of configuration options available here:
153 // https://github.com/hakimel/reveal.js#configuration
154 Reveal.initialize({
155 controls: true,
156 progress: true,
157 history: true,
158 center: $if(center)$true$else$false$endif$,
159 transition: '$transition$',
junkkad55cff02015-03-15 22:27:03 +0100160 backgroundTransition: '$background_transition$',
161
JJ Allaire2ec40242014-09-15 09:18:39 -0400162 // Optional libraries used to extend on reveal.js
163 dependencies: []});
164 </script>
165
166$if(mathjax-url)$
167 <!-- dynamically load mathjax for compatibility with self-contained -->
168 <script>
169 (function () {
170 var script = document.createElement("script");
171 script.type = "text/javascript";
172 script.src = "$mathjax-url$";
173 document.getElementsByTagName("head")[0].appendChild(script);
174 })();
175 </script>
176$endif$
177
178 </body>
179</html>