-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.html
49 lines (49 loc) · 1.46 KB
/
template.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Teaching Materials - {title}</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.2.0/github-markdown.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
<style>
.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 45px;
}
.nav-breadcrumb {
padding: 10px 45px;
background: #f6f8fa;
border-bottom: 1px solid #ddd;
}
.nav-breadcrumb a {
color: #0366d6;
text-decoration: none;
}
.nav-breadcrumb a:hover {
text-decoration: underline;
}
@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
.nav-breadcrumb {
padding: 10px 15px;
}
}
</style>
</head>
<body>
<div class="nav-breadcrumb">
<a href="/">Home</a> / {path}
</div>
<div class="markdown-body">
{content}
</div>
</body>
</html>