summaryrefslogtreecommitdiff
path: root/src/template/index.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'src/template/index.hbs')
-rw-r--r--src/template/index.hbs111
1 files changed, 111 insertions, 0 deletions
diff --git a/src/template/index.hbs b/src/template/index.hbs
new file mode 100644
index 0000000..1d05d8f
--- /dev/null
+++ b/src/template/index.hbs
@@ -0,0 +1,111 @@
1<!doctype html>
2<html lang="en">
3
4<head>
5 <meta charset="utf-8">
6
7 <title>{{presentation.title}}</title>
8
9 <meta name="description"
10 content="{{presentation.description}}">
11 <meta name="author" content="{{author.name}}">
12
13 <meta name="apple-mobile-web-app-capable" content="yes"/>
14 <meta name="apple-mobile-web-app-status-bar-style"
15 content="black-translucent"/>
16
17 <meta name="viewport"
18 content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
19
20 <link rel="stylesheet" href="../css/reveal.css">
21 <link rel="stylesheet" href="../css/font-awesome.css">
22 <link rel="stylesheet" href="../css/font-mfizz.css">
23 <link rel="stylesheet" href="../css/theme/serif.css" id="theme">
24
25 <!-- Code syntax highlighting -->
26 <link rel="stylesheet" href="../lib/css/zenburn.css">
27
28 <!-- Printing and PDF exports -->
29 <script>
30 var link = document.createElement('link');
31 link.rel = 'stylesheet';
32 link.type = 'text/css';
33 link.href =
34 window.location.search.match(/print-pdf/gi) ?
35 '../css/print/pdf.css' :
36 '../css/print/paper.css';
37 document.getElementsByTagName('head')[0].appendChild(link);
38 </script>
39
40 <!--[if lt IE 9]>
41 <script src="../lib/js/html5shiv.js"></script>
42 <![endif]-->
43</head>
44
45<body>
46
47<div class="reveal" data-transition="slide">
48
49 <div class="slides">
50 <section>
51 <h1>{{presentation.title}}</h1>
52
53 <h3>{{presentation.description}}</h3>
54
55 <p>by {{author.name}}</p>
56 </section>
57 </div>
58
59 <script src="../lib/js/head.min.js"></script>
60 <script src="../js/reveal.js"></script>
61
62 <script>
63
64 // Full list of configuration options available at:
65 // https://github.com/hakimel/reveal.js#configuration
66 Reveal.initialize({
67 controls: true,
68 progress: true,
69 history: true,
70 center: true,
71
72 transition: 'slide', // none/fade/slide/convex/concave/zoom
73
74 // Optional reveal.js plugins
75 dependencies: [
76 {
77 src: '../lib/js/classList.js', condition: function () {
78 return !document.body.classList;
79 }
80 },
81 {
82 src: '../plugin/markdown/marked.js',
83 condition: function () {
84 return !!document.querySelector('[data-markdown]');
85 }
86 },
87 {
88 src: '../plugin/markdown/markdown.js',
89 condition: function () {
90 return !!document.querySelector('[data-markdown]');
91 }
92 },
93 {
94 src: '../plugin/highlight/highlight.js',
95 async: true,
96 condition: function () {
97 return !!document.querySelector('pre code');
98 },
99 callback: function () {
100 hljs.initHighlightingOnLoad();
101 }
102 },
103 {src: '../plugin/zoom-js/zoom.js', async: true},
104 {src: '../plugin/notes/notes.js', async: true}
105 ]
106 });
107
108 </script>
109</div>
110</body>
111</html>