forked from kt3k/remarker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.njk
30 lines (30 loc) · 787 Bytes
/
layout.njk
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
<!DOCTYPE html>
<html>
<head>
<title>{{ title }}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
{% for file in cssFiles %}
<link rel="stylesheet" href="{{ file }}" />
{% endfor %}
<style type="text/css">
{{ css | safe }}
</style>
</head>
<body>
<textarea id="source">{{ file.contents | safe }}</textarea>
<script src="remark.js"></script>
{% for file in scriptFiles %}
<script src="{{ file }}"></script>
{% endfor %}
<script>
window.slideshow = remark.create({{ remarkConfig | dump | safe }})
</script>
<script>
{{ script | safe }}
;window.LiveReloadOptions = {
host: 'localhost',
port: '{{ livereloadPort }}'
};
</script>
</body>
</html>