blob: c431e79465e94b7f73a441be48e52d25f4d534dc [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
Josef Fruehwaldce4224c2015-08-07 11:19:45 +010018$if(highlightjs)$
19<link rel="stylesheet"
20 href="$highlightjs$/$if(highlightjs-theme)$$highlightjs-theme$$else$default$endif$.css"
21 $if(html5)$$else$type="text/css" $endif$/>
22<script src="$highlightjs$/highlight.js"></script>
23$endif$
24
25$if(highlighting-css)$
26<style type="text/css">
27$highlighting-css$
28</style>
29$endif$
30
31$if(theme)$
32<link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme">
33$endif$
34
35$if(theme-dark)$
36<style type="text/css">
37.reveal section img {
38 background: rgba(255, 255, 255, 0.85);
39}
40</style>
41$endif$
42
JJ Allaire2ec40242014-09-15 09:18:39 -040043 <!-- some tweaks to reveal css -->
44 <style type="text/css">
45 .reveal h1 { font-size: 2.0em; }
46 .reveal h2 { font-size: 1.5em; }
47 .reveal h3 { font-size: 1.25em; }
48 .reveal h4 { font-size: 1em; }
49
50 .reveal .slides>section,
51 .reveal .slides>section>section {
52 padding: 0px 0px;
53 }
54
55$if(center)$
56
57$else$
58 .reveal .title {
59 margin-top: 125px;
60 margin-bottom: 50px;
61 }
62$endif$
63
64 .reveal table {
65 border-width: 1px;
66 border-spacing: 2px;
67 border-style: dotted;
68 border-color: gray;
69 border-collapse: collapse;
70 font-size: 0.7em;
71 }
72
73 .reveal table th {
74 border-width: 1px;
75 padding-left: 10px;
76 padding-right: 25px;
77 font-weight: bold;
78 border-style: dotted;
79 border-color: gray;
80 }
81
82 .reveal table td {
83 border-width: 1px;
84 padding-left: 10px;
85 padding-right: 25px;
86 border-style: dotted;
87 border-color: gray;
88 }
89
90 </style>
91
92 <style type="text/css">code{white-space: pre;}</style>
93
JJ Allaire2ec40242014-09-15 09:18:39 -040094$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';
104 link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
105 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>