This repository was archived by the owner on Apr 21, 2018. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
67 lines (62 loc) · 2.61 KB
/
index.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
---
---
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ site.title | markdownify | strip_html }}</title>
<meta name="description" content="{{ site.description}}">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="assets/css/main.css">
</head>
<body class="impress-not-supported">
<div class="fallback-message">
<p>Your browser <b>doesn't support the features required</b> by impress.js, so you are presented with a simplified version of this presentation.</p>
<p>For the best experience please use the latest <b>Chrome</b>, <b>Safari</b> or <b>Firefox</b> browser.</p>
</div>
<div class="container">
<div id="impress">
{% for slide in site.slides %}
{% assign parts = slide.relative_path | replace:"_slides/","" | replace:".md","" | split:"-" %}
{% assign slug = parts | join:"-" | replace:parts[0],"" | replace:parts[1], "" | replace_first:"--","" %}
<div id="{{ slug }}"
class="step"
data-x="{{ parts[0] | times: 1000 }}"
data-y="{{ parts[1] | times: 1000 }}"
data-z="{{ slide.z }}"
scale="{{ slide.scale }}"
data-rotate-x="{{ slide.rotate-x }}"
data-rotate-y="{{ slide.rotate-y }}"
data-rotate-z="{{ slide.rotate-z }}"
>
<h1 class="title">
{% if slide.octicon %}
<span class="mega-octicon octicon-{{ slide.octicon }}"> </span>
{% endif %}
{{ slide.title | markdownify | replace:"<p>","" | replace: "</p>","" }}
</h1>
{{ slide.content }}
{% if slide.notes %}
<div class="notes">
{% for note in slide.notes %}
* {{ note }}
{% endfor %}
</div><!-- /notes -->
{% endif %}
</div><!-- /slide -->
{% endfor %}
</div><!-- /impress -->
</div> <!-- /container -->
<script src="assets/vendor/jquery/dist/jquery.min.js"></script>
<script src="assets/vendor/impress.js/js/impress.js"></script>
<script type="text/javascript" src="http://localhost:9292/faye/client.js"></script>
<script type="text/javascript" src="assets/js/sync.js"></script>
<script>if (window.location.hash == "#print") {
window.print()
} else {
impress().init();
}</script>
<script src="assets/js/deck.js"></script>
</body>
</html>