-
Notifications
You must be signed in to change notification settings - Fork 2
/
slides.html
59 lines (45 loc) · 1.47 KB
/
slides.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
---
---
{% if jekyll %}
{% assign headers = site.headers %}
{% assign slides = site.slides %}
{% assign name = 'style' %}
{% endif %}
{% comment %}
<!-- todo: fix if jekyll - not working in liqud 4+ if not defined??
assign name workaround - change back to to style_css with caputure or similar -->
{% endcomment %}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ headers['title'] }}</title>
<meta name="generator" content="{{ headers['generator'] }}">
<meta name="author" content="{{ headers['author'] }}" >
<!-- S6 style sheet links -->
<link rel="stylesheet" href="s62/screen.css">
<link rel="stylesheet" href="{{ name }}.css">
{{ more_content_for_head }}
</head>
<body>
<article id="presentation">
{% for slide in slides %}
<section class="slide {{ slide.classes }}" id="{{ forloop.index }}">
{{ slide.content }}
</section>
{% endfor %}
</article><!-- presentation -->
<!-- S6 JS -->
<script src="s62/slides.keys.js"></script>
<script src="s62/slides.progress.js"></script>
<script src="s62/slides.classes.js"></script>
<script src="s62/slides.state.js"></script>
<script src="s62/slides.kernel.js"></script>
<script>
const {Deck, classes, keys, progress, state} = S6;
const deck = new Deck({ parent: "#presentation",
plugins: [classes(), keys(), progress(), state()] });
{{ more_content_for_js }}
</script>
</body>
</html>