-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.html
118 lines (90 loc) · 5.04 KB
/
base.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="referrer" content="origin">
<!-- TDK and ICO -->
<title>前哨-首页</title>
<meta name="description" content="个人博客类型网站">
<meta name="keywords" content="个人博客">
<!--站长验证-->
<link rel="shortcut icon" href=".\static\blog\img\favicon.ico" type="image/x-icon"/>
<!-- Bootstrap and font-awesome CSS -->
<link href=".\static\js\jquery3.5.1.min.js" rel="stylesheet">
<link href=".\static\css\bootstrap.min.css" rel="stylesheet">
<link href=".\static\css\font-awesome.min.css" rel="stylesheet">
<script src=".\static\blog\js\headroom.min.js"></script>
<!-- blog CSS -->
<link href=".\static\blog\css\base.css" rel="stylesheet">
<link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
<!--导航开始-->
<nav class="navbar navbar-expand-md bg-white fixed-top blog-navbar py-md-0">
<a class="navbar-brand d-md-none d-lg-block" href="#">
<strong class="px-2">Program</strong>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item mr-2">
<a class="nav-link py-md-3 active" href="#"><i class="fa fa-home mr-1"></i>首页<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item mr-2">
<a class="nav-link py-md-3 " href="#"><i class="fa fa-sitemap mr-1"></i>归档</a>
</li>
<li class="nav-item mr-2 ">
<a class="nav-link py-md-3 " href="#"><i class="fa fa-anchor mr-1"></i>关于</a>
</li>
<form class="nav-item navbar-form mr-2 py-md-2" role="search" method="get" id="searchform" action="/search/">
<div class="input-group">
<input type="search" name="q" class="form-control rounded-0" placeholder="站内搜索" autocomplete="off" required=True>
<div class="input-group-btn">
<button class="btn btn-info rounded-0" type="submit"><i class="fa fa-search"></i></button>
</div>
</div><!-- /input-group -->
</form>
</ul>
<ul class="navbar-nav">
<li class="nav-item mr-2">
<a class="nav-link py-md-3" href="#">登录</a>
</li>
<li class="nav-item">
<a class="nav-link py-md-3" href="#">注册</a>
</li>
</ul>
</div>
</nav>
<!--导航结束-->
<main>
<!-- 版心 -->
<div class="container">
</div>
</main>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src=".\static\blog\js\base.js"></script>
<footer class="container-fluid mt-4 py-0">
<div class="card-body text-center px-0 f-14">
<p class="card-text mb-1">Copyright © <span id="year-info"></span>
<a href="#" target="_blank" title="博客首页">前哨</a>. Powered by SJW.
</p>
<p class="mb-0">
<a href="#" target="_blank">Sitemap</a>
<span id="web-day"></span>
</p>
<script>function getnewYear(){var d = new Date();var old = new Date('2019/11/01');
var x = document.getElementById("year-info");
x.innerHTML=d.getFullYear();var y=document.getElementById("web-day");
var dd=Math.floor((d.getTime() - old.getTime()) / (24 * 3600 * 1000));
var d_str="| 网站已续航 "+dd+" 天";y.innerHTML=d_str;}getnewYear()</script>
</div>
</footer>
</body>
</html>