-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (81 loc) · 3.08 KB
/
index.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Welcome to GitHub Pages | eveaos.com</title>
<meta property="og:title" content="Welcome to GitHub Pages" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="Websit" />
<meta name="Robots" contect= "all" />
<meta property="og:description" content="Websit" />
<link rel="canonical" href="http://eveaos.com/" />
<meta property="og:url" content="http://eveaos.com/" />
<meta property="og:site_name" content="eveaos.com" />
<script type="application/ld+json">
{"name":"eveaos.com","description":"Websit","author":null,"@type":"WebSite","url":"http://eveaos.com/","image":null,"publisher":null,"headline":"Welcome to GitHub Pages","dateModified":null,"datePublished":null,"sameAs":null,"mainEntityOfPage":null,"@context":"http://schema.org"}</script>
<script src="./js/jquery-3.2.1.min.js"></script>
<script src="./js/markdown.js"></script>
<!-- End -->
<meta name="description" content="Websit"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<link rel="stylesheet" type="text/css" href="./assetss/css/style.css">
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css">
.bah{position:static<!--absolute-->;bottom:0;left:50%;font-size:14px;margin-left: 50%;;}
</style>
</head>
<body>
<section class="page-header">
<h1 class="project-name">eveaos.com</h1>
<h2 class="project-tagline">Websit</h2>
<a href="https://github.com/Shen9ke/eveaos.com" class="btn">View on GitHub</a>
</section>
<section class="main-content">
<h2 id="welcome-to-github-pages">Welcome to GitHub Pages</h2>
<div class="md-text">
<script>$.get("./content/part_1.md", function(text) {
console.log(text);
document.getElementById('content1').innerHTML =
marked(text); //转换为html
});
</script>
<div id="content1"></div>
</div>
<footer class="site-footer">
<span class="site-footer-owner"><a href="https://github.com/Shen9ke/eveaos.com">eveaos.com</a> is maintained by <a href="https://github.com/Shen9ke">Shen9ke</a>.</span>
</footer>
</section>
<div id="times"></div>
<script > //获取时间
function startTime()
{
var today=new Date();
var year=today.getFullYear();
var month=today.getMonth()+1;
var day=today.getDate();
var hours=today.getHours();
var minutes=today.getMinutes();
var seconds=today.getSeconds();
// add a zero in front of numbers<10
month=checkTime(month);
day=checkTime(day);
hours=checkTime(hours)
minutes=checkTime(minutes)
console.log("today",today.getDay());
document.getElementById('times').innerHTML=year+"年"+month+"月"+day+"日"+hours+"时"+minutes+"分";
}
startTime(); //先运行一遍,之后隔60000ms(一分钟)更新一次
setTimeout('startTime()',60000);
function checkTime(i)
{
if (i<10)
{i="0" + i}
return i;
}
</script>
<div class="bah">
2017 @ eveaos.com
</div>
</body>
</html>