-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
index.html
131 lines (125 loc) · 4.35 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>灵丘民间故事歌谣谚语集成</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="description" content="灵丘民间故事歌谣谚语集成"/>
<meta name="keywords" content="灵丘民间故事,灵丘民间歌谣,灵丘民间谚语,民间故事,民间歌谣,民间谚语,灵丘故事,灵丘歌谣,灵丘谚语,灵丘,故事,歌谣,谚语"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"/>
<!--<link rel="shortcut icon" href="./static/favicon.png"/>-->
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css"/>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css"/>
<!--<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/sidebar.min.css"/>-->
<style>
.app-name-link img {
width: 38%;
}
</style>
</head>
<body>
<div id="app"></div>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-edit-on-github/index.js"></script>
<script>
window.$docsify = {
name: '灵丘民间故事歌谣谚语',
repo: 'folkstory/lingqiu',
homepage: '/序.md',
loadSidebar: 'summary.md',
loadNavbar: true,
fallbackLanguages: ['zh-cn', 'en'],
coverpage: true,
mergeNavbar: true,
// themeColor: '#4948cc',
// logo: './static/logo.png',
auto2top: true,
maxLevel: 3,
subMaxLevel: 4,
topMargin: 20,
search: {
depth: 6,
noData: {
'/en/': 'No results!',
'/zh-cn/': '没有找到结果!',
'/': '没有找到结果!'
},
paths: 'auto',
placeholder: {
'/en/': 'Type to Search',
'/zh-cn/': '输入关键词搜索',
'/': '输入关键词搜索'
},
pathNamespaces: ['/zh-cn', '/en']
},
alias: {
// '/summary.md': './zh-cn/summary.md'
},
plugins: [
EditOnGithubPlugin.create('https://github.com/folkstory/lingqiu/blob/master/')
],
plantuml: {
skin: 'classic',
},
count: {
countable: true,
position: 'top',
margin: '10px',
float: 'right',
fontsize: '0.9em',
color: 'rgb(90,90,90)',
language: 'chinese',
localization: {
words: "",
minute: ""
},
isExpected: true
},
pagination: {
previousText: '上一篇',
nextText: '下一篇',
crossChapter: true,
crossChapterText: false,
},
}
</script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-count@latest/dist/countable.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
<!--<script src="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.min.js"></script>-->
<script>
// 百度统计
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?35feafcd79df20c5629402a2b33da5d1";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
// google analytics
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '257687599', 'auto');
ga('send', 'pageview');
// gitalk
var pathNames = decodeURI(window.location.href).split('#/');
var pathName = pathNames && pathNames[1] ? pathNames[1] : '/'
console.log(pathNames);
const gitalk = new Gitalk({
clientID: '9dce484d70c9dabda9e6',
clientSecret: 'dc39377eb2304b3cfbf9b77ec269bcd64a58cc0f',
repo: 'lingqiu',
owner: 'folkstory',
admin: ['guanguans', 'mcy-689'],
distractionFreeMode: false,
id: pathName.split('?')[0],
language: 'zh-CN',
})
</script>
</body>
</html>