-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (66 loc) · 2.59 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta charset="UTF-8" />
<link rel="stylesheet" href="./public/docsify.vue.css" />
<title>xiaok's blog (前端文章)</title>
<meta name="keywords" content="javascript, node, electron, css, react, typescript, blog, xiaokyo, xiaok" />
<meta name="description" content="There is xiaok's blog" />
<link rel="shortcut icon" href="./public/512x512.png" type="image/x-icon">
</head>
<body>
<div data-app id="app">Please wait...</div>
<script>
window.$docsify = {
el: "#app",
loadSidebar: true, // 是否有侧边菜单栏
// complete configuration parameters
search: {
maxAge: 86400000, // Expiration time, the default one day
paths: "auto", // or 'auto'
placeholder: "Type to search",
noData: "No Results!",
// Headline depth, 1 - 6
depth: 2,
hideOtherSidebarContent: false, // whether or not to hide other sidebar content
// To avoid search index collision
// between multiple websites under the same domain
namespace: "my-website",
// Use different indexes for path prefixes (namespaces).
// NOTE: Only works in 'auto' mode.
//
// When initialiazing an index, we look for the first path from the sidebar.
// If it matches the prefix from the list, we switch to the corresponding index.
pathNamespaces: ["/zh-cn", "/ru-ru", "/ru-ru/v1"],
// You can provide a regexp to match prefixes. In this case,
// the matching substring will be used to identify the index
pathNamespaces: /^(\/(zh-cn|ru-ru))?(\/(v1|v2))?/,
},
plugins: [
function (hook) {
var footer = [
'<hr/>',
'<footer>',
'<a href="https://beian.miit.gov.cn/" target="_blank">浙ICP备17029188号-2</a>',
'</footer>'
].join('');
hook.afterEach(function (html) {
return html + footer;
});
}
]
};
</script>
<script src="./public/docsify.js"></script>
<script src="./public/search.min.js"></script>
<script src="./public/emoji.min.js"></script>
<script src="./public/prism-rust.min.js"></script>
<script src="./public/prism-toml.min.js"></script>
<script src="./public/prism-typescript.min.js"></script>
<script src="./public/prism-cpp.min.js"></script>
<script src="./public/prism-bash.min.js"></script>
<script src="./public/prism-javascript.min.js"></script>
</body>
</html>