-
Notifications
You must be signed in to change notification settings - Fork 0
/
_layout.ejs
38 lines (33 loc) · 1.04 KB
/
_layout.ejs
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><%= title %></title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="lib/jquery-ui.min.js"></script>
<link href="lib/jquery.tocify.css" rel="stylesheet"></link>
<script src="lib/jquery.tocify.js"></script>
<script src="lib/prism.js"></script>
<link rel="stylesheet" href="lib/prism.css"/>
<link href="handbook.css" rel="stylesheet"></link>
<link href="blueprint.css" rel="stylesheet"></link>
</head>
<body>
<div id="toc">
<a href="index.html" class="index-link">Index</a>
</div>
<div class="main-column">
<%- yield %>
</div>
<script>
jQuery(document).ready(function() {
if (jQuery(window).height() < jQuery(document).height()) {
$('#toc').tocify({
extendPage: false
});
}
});
</script>
</body>