-
Notifications
You must be signed in to change notification settings - Fork 5
/
cern-template.html
89 lines (77 loc) · 3.34 KB
/
cern-template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>{{{title}}}</title>
<link rel="stylesheet" href="{{{base}}}/css/reveal.css">
<link rel="stylesheet" href="{{{themeUrl}}}" id="theme">
<link rel="stylesheet" href="{{{base}}}{{{highlightThemeUrl}}}">
<link rel="stylesheet" href="{{{base}}}/css/print/{{#print}}pdf{{/print}}{{^print}}paper{{/print}}.css" type="text/css" media="print">
{{#cssPaths}}
<link rel="stylesheet" href="{{{base}}}/{{{.}}}">
{{/cssPaths}}
{{#watch}}
<script>
document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] +
':35729/livereload.js?snipver=1"></' + 'script>')
</script>
{{/watch}}
</head>
<body>
<div class="reveal">
<div class="slides">{{{slides}}}</div>
<!-- Seets footer Bar -->
<div id="footerBar">
<div id="CERNlogoFooter"></div>
<p id="footerText"> Presentation Reference </p>
<p id="footerText"> DD/MM/YYYY </p>
</div>
</div>
<script src="{{{base}}}/lib/js/head.min.js"></script>
<script src="{{{base}}}/js/reveal.js"></script>
<script>
function extend() {
var target = {};
for (var i = 0; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (source.hasOwnProperty(key)) {
target[key] = source[key];
}
}
}
return target;
}
// Optional libraries used to extend on reveal.js
var deps = [
{ src: '{{{base}}}/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '{{{base}}}/plugin/markdown/marked.js', condition: function() { return !!document.querySelector('[data-markdown]'); } },
{ src: '{{{base}}}/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector('[data-markdown]'); } },
{ src: '{{{base}}}/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '{{{base}}}/plugin/zoom-js/zoom.js', async: true },
{ src: '{{{base}}}/plugin/notes/notes.js', async: true },
{ src: '{{{base}}}/plugin/math/math.js', async: true }
];
// default options to init reveal.js
var defaultOptions = {
controls: true,
progress: true,
history: true,
center: true,
transition: 'default', // none/fade/slide/convex/concave/zoom
dependencies: deps
};
// options from URL query string
var queryOptions = Reveal.getQueryHash() || {};
var options = {{{revealOptionsStr}}};
options = extend(defaultOptions, options, queryOptions);
</script>
{{#scriptPaths}}
<script src="{{{base}}}/{{{.}}}"></script>
{{/scriptPaths}}
<script>
Reveal.initialize(options);
</script>
</body>
</html>