This repository has been archived by the owner on Nov 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
59 lines (57 loc) · 1.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="keywords" content="极简风,评论系统,极简风评论系统,comment system">
<meta name="description" content="一款极简风评论系统">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta content="telephone=no,email=no" name="format-detection">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,Chrome=1">
<title>A simple comment system.</title>
<style>
body {
background-color: rgb(238, 238, 238);
margin: 0;
}
.container {
padding: 0 80px;
}
@media screen and (max-width:720px) {
.container {
padding: 0;
}
.placeholder,
.market {
display: none;
}
.content {
padding: 10px;
}
}
.content {
background: #fff;
padding: 10px 30px 50px;
}
</style>
<script src="./dist/ohhho.min.js"></script>
</head>
<body>
<div class="container">
<div class="placeholder"></div>
<div class="content">
<div class="comment"></div>
</div>
</div>
<script>
new ohhho({
el: '.comment',
placeholder: 'Write a Comment',
path: '/',
serverURL: 'http://127.0.0.1:8787',
});
</script>
</body>
</html>