-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index-static.html
65 lines (64 loc) · 3.19 KB
/
index-static.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
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
<meta name="theme-color" content="#f1f7fe">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>vcomment - Full-featured comment system.</title>
<meta name="description"
content="🧵 B3log 分布式社区的评论组件,欢迎加入下一代社区网络。"/>
<meta property="og:description"
content="🧵 B3log 分布式社区的评论组件,欢迎加入下一代社区网络。"/>
<meta name="twitter:description" property="og:description" itemprop="description"
content="🧵 B3log 分布式社区的评论组件,欢迎加入下一代社区网络。"/>
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/npm"/>
<link rel="preconnect" href="https://cdn.jsdelivr.net/npm">
<link rel="icon" type="image/png" href="https://cdn.jsdelivr.net/npm/vditor@2.0.11/dist/images/emoji/b3log.png"/>
<link rel="apple-touch-icon" href="https://cdn.jsdelivr.net/npm/vditor@2.0.11/dist/images/emoji/b3log.png">
<link rel="shortcut icon" type="image/x-icon"
href="https://cdn.jsdelivr.net/npm/vditor@2.0.11/dist/images/emoji/b3log.png">
<meta name="copyright" content="B3log"/>
<meta http-equiv="Window-target" content="_top"/>
<meta property="og:locale" content="zh-cmn-Hans"/>
<meta property="og:title" content="vcomment - Full-featured comment system."/>
<meta property="og:site_name" content="vcomment"/>
<meta property="og:url" content="https://www.npmjs.com/package/vcomment"/>
<meta name="twitter:card" content="summary"/>
<meta name="twitter:domain" content="b3log.org"/>
<meta name="twitter:title" property="og:title" itemprop="b3log vcomment"
content="vcomment - Full-featured comment system."/>
<meta name="twitter:site" content="@B3logOS"/>
<meta name="twitter:url" content="https://www.npmjs.com/package/vcomment"/>
<meta property="og:image" content="https://cdn.jsdelivr.net/npm/vditor@2.0.11/dist/images/emoji/b3log.png"/>
<meta name="twitter:image" content="https://cdn.jsdelivr.net/npm/vditor@2.0.11/dist/images/emoji/b3log.png"/>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vcmt@1.3.1/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vditor@3.9.7/dist/index.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vditor@3.9.7/dist/index.css"/>
</head>
<body>
<h2>vcomment for you</h2>
<div id="comments" style="margin: 0 auto; max-width: 768px"></div>
<script>
const vcomment = new Vcomment({
id: 'comments',
postId: '1578760925288',
url: 'https://ld246.com',
userName: '88250',
currentPage: 1,
vditor: {
hljsEnable: false,
hljsStyle: 'github',
},
error () {
$('#comments').remove()
},
})
vcomment.render()
</script>
</body>
</html>