-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (61 loc) · 2.38 KB
/
index.html
File metadata and controls
62 lines (61 loc) · 2.38 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- 网站标题 -->
<title>Awesome Mac</title>
<!-- 网站icon -->
<link rel="icon" href="https://raw.githubusercontent.com/jaywcjlove/awesome-mac/master/build/favicon.ico">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<!-- Theme 主题设置 [vue.css] [buble.css] [dark.css] [pure.css] -->
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
<!-- Plugin gitalk -->
<link rel="stylesheet" href="//unpkg.com/gitalk/dist/gitalk.css">
</head>
<body>
<!-- loading显示的文字 -->
<div id="app">Loading...</div>
<script>
window.$docsify = {
// ************************* Configuration *************************
// https://docsify.js.org/#/zh-cn/configuration
homepage:
'https://raw.githubusercontent.com/jaywcjlove/awesome-mac/master/README-zh.md',
maxLevel:2,
loadNavbar: true,
mergeNavbar: true,
notFoundPage: true,
name: 'Awesome Mac',
repo: 'ripperhe/awesome-mac-html',
auto2top: true,
// ************************* Plugins *************************
// https://docsify.js.org/#/zh-cn/plugins
// 全文搜索 - Search
search: 'auto',
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<!-- ************************* Plugins ************************* -->
<!-- Plugins:全文搜索 -->
<script src="//unpkg.com/docsify/lib/plugins/search.js"></script>
<!-- Plugins:图片缩放 - Zoom image -->
<script src="//unpkg.com/docsify/lib/plugins/zoom-image.js"></script>
<!-- Plugins:gitalk -->
<script src="//unpkg.com/docsify/lib/plugins/gitalk.min.js"></script>
<script src="//unpkg.com/gitalk/dist/gitalk.min.js"></script>
<script>
const gitalk = new Gitalk({
clientID: '6dcf63ab4e93d33d33fa',
clientSecret: 'aa430158c8d3fc3c2c15c94063854d6513bda0e6',
repo: 'awesome-mac-html',
owner: 'ripperhe',
admin: ['ripperhe'],
// id: '{{ page.url | truncate: 50, '' }}',
distractionFreeMode: false // Facebook-like distraction free mode
})
gitalk.render('gitalk-container')
</script>
</body>
</html>