-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
71 lines (65 loc) · 2.46 KB
/
blog.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
68
69
70
71
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Bootstrap CSS -->
<link href="/themes/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="/themes/bootstrap/css/main.css" rel="stylesheet">
<title>Ankazen</title>
</head>
<body>
<header>
<nav id="navbar" class="navbar navbar-expand-lg navbar-light bg-light justify-content-center">
<div class="container justify-content-center">
<h2 class="featurette"><a href="/">Ankazen</a></h2>
</div>
</nav>
</header>
<main role="main">
<div class="container">
<div class="m-4">
<h5 class="text-center"><a href="/blog/hello.html">hello</a></h5>
<p class=""><small class="text-muted">2019-11-08 21:24</small></p>
<p class="md"><h5>第一篇测试</h5>
<h5>一级标题</h5>
<h6>二级标题</h6>
<h6>#三级标题</h6>
<h6>##四级标题</h6>
<h6>###五级标题</h6>
<h6>####六级标题</h6>
<ul>
<li>
<p>无序列表 或者</p>
</li>
<li>
<p>无序列表</p>
</li>
</ul>
<p>有序列表直接</p>
<p>1.有序列表</p>
<p>2.有序列表</p>
<p>自己会排序不用自己记数字,是根据第一个往下排的</p></p>
<hr class="featurette-divider">
</div>
</div>
</main>
<footer class="text-center">
<p>© [email protected] ·</p>
</footer>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script type="text/javascript">
$(document).ready(function() {
console.log(location.pathname);
$('li.active').removeClass('active');
$('a[href="' + location.pathname + '"]').closest('li').addClass('active');
});
</script>
</body>
</html>