-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.html.erb
36 lines (34 loc) · 1.12 KB
/
template.html.erb
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
<%# Local variables:
path: The path to the markdown file.
separator: The separator for horizontal slides.
separator_vertical: The separator for vertical slides.
theme: Name of the theme used. %>
<html>
<head>
<link rel="stylesheet" href="/<%= theme %>.css">
<link rel="stylesheet" href="/assets/template.css">
<script type="module" src="/<%= theme %>.js"></script>
<style>
.hljs-ln-code { white-space: pre; }
</style>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3BHYP1GEW9"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-3BHYP1GEW9');
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section data-markdown="<%= path %>"
data-separator="<%= separator %>"
data-separator-vertical="<%= separator_vertical %>"
data-separator-notes="<%= separator_notes %>">
</section>
</div>
</div>
</body>
</html>